mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
fix: sub window failed to start or freeze issue
This commit is contained in:
@@ -121,7 +121,6 @@ void runMobileApp() async {
|
||||
|
||||
void runRemoteScreen(Map<String, dynamic> argument) async {
|
||||
await initEnv(kAppTypeDesktopRemote);
|
||||
await restoreWindowPosition(WindowType.RemoteDesktop, windowId: windowId);
|
||||
runApp(GetMaterialApp(
|
||||
navigatorKey: globalKey,
|
||||
debugShowCheckedModeBanner: false,
|
||||
@@ -147,7 +146,6 @@ void runRemoteScreen(Map<String, dynamic> argument) async {
|
||||
|
||||
void runFileTransferScreen(Map<String, dynamic> argument) async {
|
||||
await initEnv(kAppTypeDesktopFileTransfer);
|
||||
await restoreWindowPosition(WindowType.FileTransfer, windowId: windowId);
|
||||
runApp(
|
||||
GetMaterialApp(
|
||||
navigatorKey: globalKey,
|
||||
@@ -173,7 +171,6 @@ void runFileTransferScreen(Map<String, dynamic> argument) async {
|
||||
|
||||
void runPortForwardScreen(Map<String, dynamic> argument) async {
|
||||
await initEnv(kAppTypeDesktopPortForward);
|
||||
await restoreWindowPosition(WindowType.PortForward, windowId: windowId);
|
||||
runApp(
|
||||
GetMaterialApp(
|
||||
navigatorKey: globalKey,
|
||||
|
||||
Reference in New Issue
Block a user