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

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
index 1f1d719..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";
         }
@@ -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