ab:deal push error, show error banner, fix splash empty by remove reset

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-08-13 14:46:04 +08:00
parent 5112398ad3
commit b2f5e2f927
40 changed files with 262 additions and 98 deletions

View File

@@ -125,6 +125,7 @@ void runMainApp(bool startService) async {
bind.pluginSyncUi(syncTo: kAppTypeMain);
bind.pluginListReload();
}
gFFI.abModel.loadCache();
gFFI.userModel.refreshCurrentUser();
runApp(App());
// Set window option.
@@ -152,6 +153,7 @@ void runMobileApp() async {
await initEnv(kAppTypeMain);
if (isAndroid) androidChannelInit();
platformFFI.syncAndroidServiceAppDirConfigPath();
gFFI.abModel.loadCache();
gFFI.userModel.refreshCurrentUser();
runApp(App());
}