From 8fe4f5b7366967bff9e836329c81113d63ea070f Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 28 一月 2021 19:44:03 +0800 Subject: [PATCH] 更新 .gitignore --- HDL-ON_iOS/ViewController.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs index 22e1aa9..80257a8 100644 --- a/HDL-ON_iOS/ViewController.cs +++ b/HDL-ON_iOS/ViewController.cs @@ -34,6 +34,9 @@ { Language.CurrentLanguage = OnAppConfig.Instance.SetLanguage; } +#if DEBUG + Language.CurrentLanguage = "English"; +#endif HDL_ON.MainPage.Show(); try @@ -84,7 +87,7 @@ internetStatus = Reachability.InternetConnectionStatus(); //MainPage.Log($"缃戠粶鐘舵�佸彉鍖栵紝褰撳墠缃戠粶:{internetStatus}"); //缃戠粶鍙樺寲澶勭悊 - HDLCommon.Current.UpdateInternetStatus((int)internetStatus, SharedMethod.SharedMethod.IsBackground); + HDLCommon.Current.UpdateInternetStatus((int)internetStatus, MainPage.IsEnterBackground); //if (internetStatus == NetworkStatus.NotReachable)//娌℃湁缃戠粶杩炴帴 0 //{ -- Gitblit v1.8.0