From ac334861efbf06933e95c62ced0484410f34bece Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 29 十一月 2019 18:00:32 +0800
Subject: [PATCH] 2019.11.29

---
 ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
index f21a869..60bcdc4 100644
--- a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
@@ -83,6 +83,7 @@
         /// </summary>
         public AccountLogin()
         {
+            CommonPage.Instance.IsDrawerLockMode = true;
             BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
             Tag = "Login";
         }
@@ -324,7 +325,7 @@
             }
             else
             {
-                Login(phoneRow.AccountET.Text.Trim(), pwdRow.PasswrodET.Text.Trim());
+                Login(emailRow.AccountET.Text.Trim(), pwdRow.PasswrodET.Text.Trim());
             }
 
         }
@@ -510,7 +511,10 @@
                                 if (re)
                                 {
                                     //鐩存帴鐧诲綍
-                                    HomePage.Instance.ShowLoginLoadView();
+                                    Application.RunOnMainThread(() =>
+                                    {
+                                        HomePage.Instance.ShowLoginLoadView();
+                                    });
                                     //鍚姩ZigBee
                                     ZigBee.Common.Application.Init();
                                     var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID();

--
Gitblit v1.8.0