JLChen
2020-01-15 4a61a132ce09b1fd42fd80fcbff1855bad4c0f48
Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs
@@ -76,8 +76,8 @@
                TextColor = SkinStyle.Current.TextColor1,
                //Text = account,
#if DEBUG
                Text = "18926269190@189.cn"
                //Text = "721343314@qq.com"
                //Text = "18926269190@189.cn"
                Text = "721343314@qq.com"
#endif
            };
            accountView.AddChidren (etAccount);
@@ -92,6 +92,8 @@
                accountListDB = new AccountListDB ();
            }
            var accountList = accountListDB.account;
            var accountListView = new VerticalScrolViewLayout () {
                Width = Application.GetRealWidth (500),
@@ -156,6 +158,10 @@
                NigelLoginPass++;
            };
#endif
            //if (accountList.Count > 0) {
            //    etAccount.Text = accountList [accountList.Count-1];
            //}
            etAccount.EditorEnterAction += (obj) => {
                Application.HideSoftInput ();
                etPasswrod.Foucs = true;
@@ -575,6 +581,7 @@
        {
            UserConfig.Instance.SaveUserConfig ();
            MainPage.LoginUser.LastTime = DateTime.Now;
            //MainPage.IsOtherDevicesLogin = false;
            if (UserConfig.Instance.CheckHomeGatewaysNotEmpty ()) {
                UserConfig.Instance.HomeLists = revertRoomData;