From 659feeb42e2df617545469024774c12bcca97fcd Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Tue, 10 Oct 2023 21:07:45 +0800 Subject: [PATCH] 2.9 Beta 13 --- lib/common/conf.dart | 2 +- lib/ui/settings/upgrade_dialog_ui.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,