mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 06:44:45 +08:00
fix: HomeUI performance game not install
This commit is contained in:
@ -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");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user