From f9f9b0030fdd2691632569b7dcad9d0ddca5e4cf Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 23 十二月 2020 09:28:54 +0800
Subject: [PATCH] 2020-12-23 1.调整mqtt挤下线,跑ui线程。2.LoadEvent_CheckLinkStatus方法调整
---
HDL_ON/UI/UI1-Login/RegisterPageBLL.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
old mode 100644
new mode 100755
index e398c75..fbd1be7
--- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
@@ -583,7 +583,7 @@
//callbackAction?.Invoke(account);
Application.RunOnMainThread(() =>
{
- this.Close();
+ Close();
LoadEvent_AutoLogin(account, password);
});
}
@@ -621,7 +621,7 @@
void LoadEvent_Server()
{
//鍒ゆ柇涔嬪墠鏄惁閫夋嫨杩�
- if (UserInfo.Current.GlobalRegion != null && !string.IsNullOrEmpty(UserInfo.Current.GlobalRegion.regionUrl))
+ if (OnAppConfig.Instance.GlobalRegion != null && !string.IsNullOrEmpty(OnAppConfig.Instance.GlobalRegion.regionUrl))
{
SetServerText();
@@ -683,7 +683,7 @@
isSelectServer = true;
ShowServerBottomLineState(false);
btnServerText.TextColor = CSS_Color.FirstLevelTitleColor;
- btnServerText.Text = UserInfo.Current.GlobalRegion.regionName;
+ btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName;
}
--
Gitblit v1.8.0