From 365eadb33ee86b05ac74d408025d102a758c2efd Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 10 一月 2020 15:27:17 +0800
Subject: [PATCH] 2020-01-10 2020-01-10 1.修改切换本地和远程问题。 2.修改判断住宅网关方案。 3.其它优化修改。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
index 19c0095..c4b8c7a 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
@@ -258,7 +258,7 @@
                         alertDialog.Close ();
                         IO.FileUtils.DeleteAllFile ();
                         foreach (var tempHome in UserConfig.Instance.HomeLists) {
-                            IO.FileUtils.DeleteRegionFiles (IO.FileUtils.CreateRegionBackup (tempHome.Name));
+                            IO.FileUtils.DeleteRegionFiles (IO.FileUtils.CreateRegionBackup (tempHome.Id));
                         }
                         MainPage.LoginUser.LastTime = DateTime.MinValue;
                         MainPage.LoginUser.SaveUserInfo ();
@@ -295,7 +295,7 @@
                     //    if (e2) {
                     //        IO.FileUtils.DeleteAllFile ();
                     //        foreach (var tempHome in UserConfig.Instance.HomeLists) {
-                    //            IO.FileUtils.DeleteRegionFiles (IO.FileUtils.CreateRegionBackup (tempHome.RegionName));
+                    //            IO.FileUtils.DeleteRegionFiles (IO.FileUtils.CreateRegionBackup (tempHome.Id));
                     //        }
                     //    }
                     //    MainPage.LoginUser.LastTime = DateTime.MinValue;

--
Gitblit v1.8.0