We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3258cc7 commit c316428Copy full SHA for c316428
lib/utilities/util.dart
@@ -38,11 +38,10 @@ abstract class Util {
38
return false;
39
}
40
41
- // special check for running under ipad mode in macos
42
- if (Platform.isIOS &&
43
- libraryPath != null &&
44
- !libraryPath!.path.contains("/var/mobile/")) {
45
- return true;
+ // iOS devices and simulators should use mobile UI
+ // Only desktop platforms should use desktop UI
+ if (Platform.isIOS) {
+ return false;
46
47
48
return Platform.isLinux || Platform.isMacOS || Platform.isWindows;
0 commit comments