mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 19:55:52 +00:00
macos ipad compat screen size check ignore
This commit is contained in:
parent
7918a034ed
commit
2ec8c6067b
1 changed files with 2 additions and 2 deletions
|
@ -77,12 +77,12 @@ void main() async {
|
||||||
}
|
}
|
||||||
|
|
||||||
Screen? screen;
|
Screen? screen;
|
||||||
if (Platform.isLinux || Platform.isIOS || Util.isDesktop) {
|
if (Platform.isLinux || (Util.isDesktop && !Platform.isIOS)) {
|
||||||
screen = await getCurrentScreen();
|
screen = await getCurrentScreen();
|
||||||
Util.screenWidth = screen?.frame.width;
|
Util.screenWidth = screen?.frame.width;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Util.isDesktop) {
|
if (Util.isDesktop && !Platform.isIOS) {
|
||||||
setWindowTitle('Stack Wallet');
|
setWindowTitle('Stack Wallet');
|
||||||
setWindowMinSize(const Size(1220, 100));
|
setWindowMinSize(const Size(1220, 100));
|
||||||
setWindowMaxSize(Size.infinite);
|
setWindowMaxSize(Size.infinite);
|
||||||
|
|
Loading…
Reference in a new issue