macos ipad compat screen size check ignore

This commit is contained in:
julian 2022-11-29 08:41:31 -06:00
parent 7918a034ed
commit 2ec8c6067b

View file

@ -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);