mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
opt: optimize cm ui & timer & auto close
Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
@@ -117,9 +117,12 @@ void runFileTransferScreen(Map<String, dynamic> argument) async {
|
||||
}
|
||||
|
||||
void runConnectionManagerScreen() async {
|
||||
await initEnv(kAppTypeConnectionManager);
|
||||
await windowManager.setSize(Size(400, 600));
|
||||
await windowManager.setAlignment(Alignment.topRight);
|
||||
await Future.wait([
|
||||
initEnv(kAppTypeConnectionManager),
|
||||
windowManager
|
||||
.setSize(Size(300, 400))
|
||||
.then((value) => windowManager.setAlignment(Alignment.topRight))
|
||||
]);
|
||||
runApp(GetMaterialApp(theme: getCurrentTheme(), home: DesktopServerPage()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user