From 1e76fa5a69bc478b3eb5738546aeb51b8fd6f7c9 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期一, 18 十一月 2019 16:30:41 +0800
Subject: [PATCH] 2019.11.18

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountRegisterSuccess.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountRegisterSuccess.cs
index 448dc50..8f7fe88 100644
--- a/ZigbeeApp/Shared/Phone/Device/Account/AccountRegisterSuccess.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountRegisterSuccess.cs
@@ -103,7 +103,8 @@
                 {
                     try
                     {
-                        UserPage.Instance.Fresh();
+                        HomePage.Instance.ShowLoginLoadView();
+
                         CommonPage.Loading.Start(Language.StringByID(R.MyInternationalizationString.Logining));
                         Action action = async () => {
                             var loginSuccess = await HomePage.Instance.LoginByPWDAsync(account, password);
@@ -123,16 +124,15 @@
                                     //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                                     await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
 
-                                    Shared.Common.Room.CanInitAllRoom = true;
                                     Shared.Common.Room.InitAllRoom();
 
                                     Application.RunOnMainThread(() =>
                                     {
-                                        UserPage.Instance.Fresh();
                                         CommonPage.Loading.Hide();
                                         this.RemoveFromParent();
                                         CommonPage.Instance.RemoveViewByTag("Register");
                                         CommonPage.Instance.RemoveViewByTag("Login");
+                                        UserPage.Instance.Fresh();
                                     });
                                 })
                                 { IsBackground = true }.Start();

--
Gitblit v1.8.0