mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 07:43:42 +08:00
fix: HomeUI performance game not install
This commit is contained in:
parent
38a1ddab72
commit
2e69068209
@ -806,6 +806,13 @@ class HomeUI extends HookConsumerWidget {
|
|||||||
builder: (BuildContext context) => const LocalizationDialogUI());
|
builder: (BuildContext context) => const LocalizationDialogUI());
|
||||||
model.checkLocalizationUpdate(skipReload: true);
|
model.checkLocalizationUpdate(skipReload: true);
|
||||||
break;
|
break;
|
||||||
|
case "performance":
|
||||||
|
if (homeState.scInstalledPath == "not_install") {
|
||||||
|
showToast(context, gameInstallReqInfo);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
context.push("/index/$key");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
context.push("/index/$key");
|
context.push("/index/$key");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user