Commit 08dca75327160c99f0f680be91747befed31558b

Authored by wdn127929
1 parent a5cf4ee3

2.9.5

... ... @@ -11,14 +11,14 @@ if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = "294"
def flutterVersionCode = "295"
if (flutterVersionCode == null) {
flutterVersionCode = '294'
flutterVersionCode = '295'
}
def flutterVersionName = "2.9.4"
def flutterVersionName = "2.9.5"
if (flutterVersionName == null) {
flutterVersionName = '2.9.4'
flutterVersionName = '2.9.5'
}
apply plugin: 'com.android.application'
... ...
... ... @@ -118,7 +118,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
newVersion = true;
});
// updateModel.showUpdateDialog(context, version);
});
}, showToast: false);
}
@override
... ... @@ -387,6 +387,8 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
if (newVersion) {
UpdateModelMy updateModel = new UpdateModelMy();
updateModel.showUpdateDialog(context, _version);
} else {
Utils.showToast("当前已是最新版本");
}
},
child: Container(
... ...