From c2cae389c932a9ab2c03d67d0276376655f26343 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 06 八月 2024 14:17:04 +0800
Subject: [PATCH] OnPro(安卓/IOS)可视对讲 TCP UDP连接选择 ;自动切换服务器

---
 HDL_ON/UI/UI1-Login/SelectServerDialog.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/SelectServerDialog.cs b/HDL_ON/UI/UI1-Login/SelectServerDialog.cs
index f2c8271..5ffe244 100644
--- a/HDL_ON/UI/UI1-Login/SelectServerDialog.cs
+++ b/HDL_ON/UI/UI1-Login/SelectServerDialog.cs
@@ -86,6 +86,13 @@
                                     {
                                         AddRowView(data, VerticalScrolViewMiddle);
                                     }
+                                    //if (string.IsNullOrEmpty(OnAppConfig.Instance.RequestHttpsHost))
+                                    //{
+                                    //    if (Language.CurrentLanguage != "Chinese")
+                                    //    {
+                                    //        OnAppConfig.Instance.RequestHttpsHost = dataList.Find((obj)=>obj.regionUrl.Contains)
+                                    //    }
+                                    //}
                                 }
                             }
                         });
@@ -156,7 +163,7 @@
             urlBtn.MouseUpEventHandler += eHandler;
 
             urlBtn.Text = mGlobalRegion.regionName;
-
+            
             if (mGlobalRegion.regionUrl == OnAppConfig.Instance.RequestHttpsHost)
             {
                 urlBtn.TextColor = CSS_Color.MainColor;

--
Gitblit v1.8.0