fix:powershell auto select

This commit is contained in:
2024-03-23 17:53:42 +08:00
parent 3c174dcb49
commit 5e67211685
4 changed files with 25 additions and 14 deletions

View File

@ -69,8 +69,10 @@ class SplashUI extends HookConsumerWidget {
}
stepState.value = 1;
if (!context.mounted) return;
dPrint("_initApp checkUpdate");
await appModel.checkUpdate(context);
stepState.value = 2;
dPrint("_initApp aria2cModelProvider");
ref.read(aria2cModelProvider);
if (!context.mounted) return;
context.go("/index");