diff --git a/lib/main.dart b/lib/main.dart index 8136965db..0ea2d181c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -77,7 +77,7 @@ void main() async { } Screen? screen; - if (Platform.isLinux || Util.isDesktop) { + if (Platform.isLinux || Platform.isIOS || Util.isDesktop) { screen = await getCurrentScreen(); Util.screenWidth = screen?.frame.width; }