From 2e69068209b2826db14f045aa9c7dd40a5e43f7e Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Sun, 16 Jun 2024 12:06:46 +0800 Subject: [PATCH] fix: HomeUI performance game not install --- lib/ui/home/home_ui.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ui/home/home_ui.dart b/lib/ui/home/home_ui.dart index fade09f..eb2c4bf 100644 --- a/lib/ui/home/home_ui.dart +++ b/lib/ui/home/home_ui.dart @@ -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"); }