From 2ec8c6067b67b0a0911584d05ec77d1ba5b6a3c4 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 29 Nov 2022 08:41:31 -0600 Subject: [PATCH] macos ipad compat screen size check ignore --- lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);