feat: 启动游戏时不再隐藏浏览器弹窗,以解决长时间加载的问题

This commit is contained in:
xkeyC 2024-09-11 20:48:25 +08:00
parent ffd32ec7ff
commit 3ce635075c

View File

@ -193,8 +193,6 @@ class WebViewModel {
webview.close();
}
});
Future.delayed(const Duration(seconds: 1))
.then((value) => {webview.setWebviewWindowVisibility(false)});
}
} catch (e) {
showToast(context, S.current.app_init_failed_with_reason(e));