2.9 Beta 13

This commit is contained in:
xkeyC 2023-10-10 21:07:45 +08:00
parent 1ca821535b
commit 659feeb42e
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import '../base/ui.dart';
class AppConf { class AppConf {
static const String appVersion = "2.9 Beta"; static const String appVersion = "2.9 Beta";
static const int appVersionCode = 13; static const int appVersionCode = 13;
static const String appVersionDate = "2023-10-06"; static const String appVersionDate = "2023-10-10";
static const String gitlabHomeUrl = static const String gitlabHomeUrl =
"https://jihulab.com/StarCitizenCN_Community/StarCitizenDoctor"; "https://jihulab.com/StarCitizenCN_Community/StarCitizenDoctor";

View File

@ -66,7 +66,7 @@ class UpgradeDialogUI extends BaseUI<UpgradeDialogUIModel> {
top: 4, bottom: 4, left: 8, right: 8), top: 4, bottom: 4, left: 8, right: 8),
child: Text("立即更新"), child: Text("立即更新"),
)), )),
if (AppConf.appVersionCode <= if (AppConf.appVersionCode >=
(AppConf.networkVersionData?.minVersionCode ?? 0)) (AppConf.networkVersionData?.minVersionCode ?? 0))
Button( Button(
onPressed: model.doCancel, onPressed: model.doCancel,