Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs
@@ -75,7 +75,7 @@
                TextColor = SkinStyle.Current.TextColor1,
                //Text = account,
#if DEBUG
                Text = "18926269190@189.cn"
                Text = "crabtreel12019@gmail.com"
#endif
            };
            accountView.AddChidren (etAccount);
@@ -244,7 +244,7 @@
                                MainPage.Loading.Start ("Login...");
                            }
                        });
                        if (UserConfig.Instance.internetStatus == 0 || !SystemRemote.checeInternet () ) {
                        if (UserConfig.Instance.internetStatus == 0  ) {
                            Application.RunOnMainThread (() => {
                                new Tip () { Text = "Network abnormal, unable to connect to the Internet", Direction = AMPopTipDirection.Down , CloseTime = 3}.Show (btnLogo);
                            });
@@ -287,7 +287,8 @@
                                if (revertObj2.StateCode == "SUCCESS") {
                                    var responseDataObj2 = Newtonsoft.Json.JsonConvert.DeserializeObject<List<RegionInfoRes>> (revertObj2.ResponseData.ToString ());
                                    var revertRoomData = responseDataObj2;
                                    if (revertRoomData.Find ((obj) => obj.RegionID == UserConfig.Instance.CurrentRegion.RegionID) == null) {
                                    //2020-04-10 增加判空处理
                                    if (UserConfig.Instance.CurrentRegion == null || revertRoomData.Find ((obj) => obj.RegionID == UserConfig.Instance.CurrentRegion.RegionID) == null) {
                                        UserConfig.Instance.CurrentRegion = revertRoomData [0];
                                        UserConfig.Instance.GatewayMAC = revertRoomData [0].MAC;
                                        IO.FileUtils.DeleteAllFile ();