From 52e317b95d830f8cd1156b403ff5a34fb8f9bccb Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 31 七月 2020 17:43:42 +0800
Subject: [PATCH] 2020-7-31-2
---
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