From 8da70e1a39328e1769b02bb1e05303916bb30eb5 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 01 二月 2021 13:55:31 +0800 Subject: [PATCH] 水阀功能 --- 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