From c209a50cabf524c146fb2d02ce09cfc46c7c2f70 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 26 五月 2020 13:49:02 +0800
Subject: [PATCH] 2020-05-26-1
---
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 10b166b..221887a 100644
--- a/HDL-ON_iOS/ViewController.cs
+++ b/HDL-ON_iOS/ViewController.cs
@@ -14,7 +14,7 @@
base.ViewDidLoad();
- if (string.IsNullOrEmpty(UserConfig.Instance.SetLanguage))
+ if (string.IsNullOrEmpty(OnAppConfig.Instance.SetLanguage))
{
if (NSLocale.PreferredLanguages[0].Contains("zh-"))
{
@@ -31,7 +31,7 @@
}
else
{
- Language.CurrentLanguage = UserConfig.Instance.SetLanguage;
+ Language.CurrentLanguage = OnAppConfig.Instance.SetLanguage;
}
HDL_ON.MainPage.Show();
--
Gitblit v1.8.0