From 34e965100d635346e2d4cd6e6013bdaed66b3004 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 02 一月 2020 19:52:13 +0800 Subject: [PATCH] 2019.1.2-3 --- ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs index c29e841..e1aa84f 100644 --- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs @@ -45,7 +45,7 @@ /// </summary> public AbountForm() { - + } /// <summary> /// 鐢婚潰鏄剧ず(搴曞眰浼氬浐瀹氳皟鐢ㄦ鏂规硶锛屽�熶互瀹屾垚鐢婚潰鍒涘缓) @@ -180,7 +180,7 @@ UpdateVersion(); }; - + updatingBtn = new Button() { Y = Application.GetRealHeight(994), @@ -194,7 +194,7 @@ Gravity=Gravity.CenterHorizontal }; bodyFrameLayout.AddChidren(updatingBtn); - + SetDownLoadBtnNoVisible(); CheckVersion(); } @@ -264,14 +264,14 @@ { return true; } - return false; + retuun false; } catch { return false; } - + #elif Android try { @@ -300,7 +300,7 @@ private async void UpdateVersion() { #if iOS - OpenUrl(); + CommonPage.Instance.OpenUrl(); #elif Android try { @@ -343,7 +343,7 @@ { System.Console.WriteLine($"涓嬭浇澶辫触--{ex.Message}"); } -#endif +#endif } #if iOS @@ -351,7 +351,7 @@ /// 鑾峰彇iOS-APP鐗堟湰淇℃伅 /// </summary> /// <returns>The https app version async.</returns> - public async System.Threading.Tasks.Task<Common.ResponseEntity.ResultPack> RequestHttpsiOSAppVersionAsync() + public async System.Threading.Tasks.Task<ResponseEntity.ResultPack> RequestHttpsiOSAppVersionAsync() { try { @@ -361,7 +361,7 @@ { return null; } - return Newtonsoft.Json.JsonConvert.DeserializeObject<Common.ResponseEntity.ResultPack>(Encoding.UTF8.GetString(result)); + return Newtonsoft.Json.JsonConvert.DeserializeObject<ResponseEntity.ResultPack>(Encoding.UTF8.GetString(result)); } catch { -- Gitblit v1.8.0