From 1b7dd38b22a777f47ad258a4a3213f851ea5c7e3 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Fri, 13 May 2022 16:22:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main_page.dart | 2 +- lib/view_widget/update_dialog.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main_page.dart b/lib/main_page.dart index 27dd569c..86870f12 100644 --- a/lib/main_page.dart +++ b/lib/main_page.dart @@ -337,7 +337,7 @@ class _MainPage extends State with WidgetsBindingObserver { PackageInfo packageInfo = await PackageInfo.fromPlatform(); BaseData baseData = await apiService.appVersion().catchError((onError) {}); if (baseData != null && baseData.isSuccess) { - baseData.data.appLastVersion = "1.0.4"; + baseData.data.appLastVersion = "1.0.5"; baseData.data.appLastVersionUp = "1.0.1"; if(AppUtils.versionCompare(packageInfo.version,baseData.data?.appLastVersion) && AppUtils.versionCompare(value.getString("appLastVersion")??"1.0.0",baseData.data?.appLastVersion)){ diff --git a/lib/view_widget/update_dialog.dart b/lib/view_widget/update_dialog.dart index fa42f586..3e93e1ad 100644 --- a/lib/view_widget/update_dialog.dart +++ b/lib/view_widget/update_dialog.dart @@ -140,7 +140,7 @@ class _UpdateDialog extends State { } androidUpdate() async { - String url = "http://application.lotus-wallet.com/huixaing?release_id=627cadff23389f2fe6d57cb1"; + String url = Platform.isIOS ? "itms-apps://itunes.apple.com/app/id1575124838":"http://application.lotus-wallet.com/huixaing?release_id=627cadff23389f2fe6d57cb1"; if (await canLaunch(url)) { await launch(url); } else {