fix: HomeUI performance game not install

This commit is contained in:
xkeyC 2024-06-16 12:06:46 +08:00
parent 38a1ddab72
commit 2e69068209

View File

@ -806,6 +806,13 @@ class HomeUI extends HookConsumerWidget {
builder: (BuildContext context) => const LocalizationDialogUI());
model.checkLocalizationUpdate(skipReload: true);
break;
case "performance":
if (homeState.scInstalledPath == "not_install") {
showToast(context, gameInstallReqInfo);
break;
}
context.push("/index/$key");
break;
default:
context.push("/index/$key");
}