diff --git a/lib/main.dart b/lib/main.dart index 0ea2d181c..622f1f078 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -77,12 +77,12 @@ void main() async { } Screen? screen; - if (Platform.isLinux || Platform.isIOS || Util.isDesktop) { + if (Platform.isLinux || (Util.isDesktop && !Platform.isIOS)) { screen = await getCurrentScreen(); Util.screenWidth = screen?.frame.width; } - if (Util.isDesktop) { + if (Util.isDesktop && !Platform.isIOS) { setWindowTitle('Stack Wallet'); setWindowMinSize(const Size(1220, 100)); setWindowMaxSize(Size.infinite);