diff --git a/lib/common/conf.dart b/lib/common/conf.dart index 5fff7a0..1bedd1e 100644 --- a/lib/common/conf.dart +++ b/lib/common/conf.dart @@ -13,7 +13,7 @@ import '../base/ui.dart'; class AppConf { static const String appVersion = "2.9 Beta"; static const int appVersionCode = 13; - static const String appVersionDate = "2023-10-06"; + static const String appVersionDate = "2023-10-10"; static const String gitlabHomeUrl = "https://jihulab.com/StarCitizenCN_Community/StarCitizenDoctor"; diff --git a/lib/ui/settings/upgrade_dialog_ui.dart b/lib/ui/settings/upgrade_dialog_ui.dart index fb9fb25..a1d1829 100644 --- a/lib/ui/settings/upgrade_dialog_ui.dart +++ b/lib/ui/settings/upgrade_dialog_ui.dart @@ -66,7 +66,7 @@ class UpgradeDialogUI extends BaseUI { top: 4, bottom: 4, left: 8, right: 8), child: Text("立即更新"), )), - if (AppConf.appVersionCode <= + if (AppConf.appVersionCode >= (AppConf.networkVersionData?.minVersionCode ?? 0)) Button( onPressed: model.doCancel,