fix: macos location restore incorrectly

This commit is contained in:
Kingtous
2023-02-01 14:03:55 +08:00
parent 82fb521a2c
commit 60ff4982ca
4 changed files with 13 additions and 19 deletions

View File

@@ -71,9 +71,6 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
reloadCurrentWindow();
}
});
Future.delayed(Duration.zero, () {
restoreWindowPosition(WindowType.FileTransfer, windowId: windowId());
});
}
@override

View File

@@ -79,9 +79,6 @@ class _PortForwardTabPageState extends State<PortForwardTabPage> {
reloadCurrentWindow();
}
});
Future.delayed(Duration.zero, () {
restoreWindowPosition(WindowType.PortForward, windowId: windowId());
});
}
@override