fix app type event name for mobile and cm

This commit is contained in:
csf
2022-08-23 15:24:04 +08:00
parent 91f2106037
commit 5326e32128
3 changed files with 4 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ void runConnectionManagerScreen() async {
// initialize window
WindowOptions windowOptions = getHiddenTitleBarWindowOptions(Size(300, 400));
await Future.wait([
initEnv(kAppTypeConnectionManager),
initEnv(kAppTypeMain),
windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.setAlignment(Alignment.topRight);
await windowManager.show();