From 2ada6ff2b2db4f10ff6a44333d07a51777c5c4a8 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 09 七月 2021 17:18:48 +0800
Subject: [PATCH] 合并温居城代码
---
HDL-ON_iOS/ViewController.cs | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs
index 72d80b7..ddecb00 100644
--- a/HDL-ON_iOS/ViewController.cs
+++ b/HDL-ON_iOS/ViewController.cs
@@ -24,28 +24,9 @@
public override void ViewDidLoad()
{
+ Console.WriteLine("qidong 1111");
base.ViewDidLoad();
-
- if (string.IsNullOrEmpty(OnAppConfig.Instance.SetLanguage))
- {
- if (NSLocale.PreferredLanguages[0].Contains("zh-"))
- {
- Language.CurrentLanguage = "Chinese";
- }
- else if (NSLocale.PreferredLanguages[0].Contains("cs-"))
- {
- Language.CurrentLanguage = "Czech";
- }
- else
- {
- Language.CurrentLanguage = "English";
- }
- }
- else
- {
- Language.CurrentLanguage = OnAppConfig.Instance.SetLanguage;
- }
HDL_ON.MainPage.Show();
try
--
Gitblit v1.8.0