mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +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;
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue