From 3272ca5b51e19f7f8a827b0f68400570a547fe60 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 28 四月 2020 15:02:44 +0800
Subject: [PATCH] 2020-04-28-1

---
 ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs b/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
index 6818f7f..5e0db1f 100755
--- a/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
+++ b/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
@@ -107,7 +107,7 @@
 
                         CommonPage.Loading.Start(Language.StringByID(R.MyInternationalizationString.Logining));
                         Action action = async () => {
-                            var loginSuccess = await HomePage.Instance.LoginByPWDAsync(account, password);
+                            var loginSuccess = await HomePage.Instance.LoginByPWDAsync(account, password);
                             if (loginSuccess==1)
                             {
                                 new System.Threading.Thread(async () =>
@@ -123,8 +123,6 @@
                                     await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
                                     //鍚姩ZigBee
                                     ZigBee.Common.Application.Init();
-
-                                    UserCenter.HdlRoomLogic.Current.InitAllRoom();
 
                                     Application.RunOnMainThread(() =>
                                     {
@@ -145,7 +143,7 @@
                                 Config.Instance.Save();
                                 var login = new AccountLogin { };
                                 CommonPage.Instance.AddChidren(login);
-                                login.Show(account, password);
+                                login.ShowForm(account);
                             }
                         };
                         action();

--
Gitblit v1.8.0