From 2a23fbede38fadaf7060510a3cd72a93a8a95ec0 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 18 十二月 2020 17:49:46 +0800
Subject: [PATCH] 2020-12-18-3
---
HDL-ON_iOS/ViewController.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs
index cc678f3..cb709ac 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();
--
Gitblit v1.8.0