From 2bbb1b72dbce5cf9bd4ac4a5b7488e3f18eaf929 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期六, 19 十二月 2020 18:37:38 +0800
Subject: [PATCH] 2020-12-19 1.IOS和Android网络切换,远程和本地控制切换优化。  2.IOS和Android后台回到前台,搜索网关,远程和本地控制切换优化.

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

diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
old mode 100644
new mode 100755
index d1d3371..182ca6a
--- a/HDL_ON/UI/UI1-Login/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -192,7 +192,7 @@
                 }
                 else
                 {
-                    etAccount.Text = "18824864143";
+                    etAccount.Text = "18824864143";//13375012446
                 }
                 b = !b;
                 etPassword.Text = "123456";
@@ -509,7 +509,7 @@
         /// <param name="frameBack"></param>
         private void AddServiceAgreementControl(FrameLayout frameLayout)
         {
-            isAgreePrivacyPolicy = UserInfo.Current.isAgreePrivacyPolicy;
+            isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy;
             var frameRow = new FrameLayout()
             {
                 Height = Application.GetRealHeight(28),
@@ -541,8 +541,8 @@
             {
                 isAgreePrivacyPolicy = !isAgreePrivacyPolicy;
                 agreeBtn.IsSelected = isAgreePrivacyPolicy;
-                UserInfo.Current.isAgreePrivacyPolicy = isAgreePrivacyPolicy;
-                UserInfo.Current.SaveUserInfo();
+                OnAppConfig.Instance.isAgreePrivacyPolicy = isAgreePrivacyPolicy;
+                OnAppConfig.Instance.SaveConfig();
             };
 
             agreeBtn.MouseUpEventHandler = eventHandler;

--
Gitblit v1.8.0