From 5ea6aa8ea047d4d7b6137fa86c03109aeb1b67ff Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 18 十二月 2020 18:03:18 +0800
Subject: [PATCH] Merge branch 'CJL' into NewFilePath
---
HDL-ON_iOS/ViewController.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs
index cc678f3..f589fc3 100644
--- a/HDL-ON_iOS/ViewController.cs
+++ b/HDL-ON_iOS/ViewController.cs
@@ -15,7 +15,7 @@
base.ViewDidLoad();
- if (string.IsNullOrEmpty(UserInfo.Current.SetLanguage))
+ if (string.IsNullOrEmpty(OnAppConfig.Instance.SetLanguage))
{
if (NSLocale.PreferredLanguages[0].Contains("zh-"))
{
@@ -32,7 +32,7 @@
}
else
{
- Language.CurrentLanguage = UserInfo.Current.SetLanguage;
+ Language.CurrentLanguage = OnAppConfig.Instance.SetLanguage;
}
HDL_ON.MainPage.Show();
@@ -73,6 +73,7 @@
void UpdateStatus(object sender, EventArgs e)
{
internetStatus = Reachability.InternetConnectionStatus();
+ MainPage.Log($"缃戠粶鐘舵�佸彉鍖栵紝褰撳墠缃戠粶:{internetStatus}");
if (internetStatus == NetworkStatus.NotReachable)//娌℃湁缃戠粶杩炴帴 0
{
Control.Ins.GatewayOnline = false;
--
Gitblit v1.8.0