From 49add64d7f25448baa06ac5a9ebbeac0a3ae97e0 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 13 一月 2020 13:50:29 +0800 Subject: [PATCH] Version 2.50113 1.优化更新。 2.第一次引导或者添加住宅,默认添加2个房间。编辑住宅不处理。 3.设备名超过20字节限制。 4.修复编辑住宅名字重复不提示问题。 5.优化添加住宅逻辑。 --- 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 03d3e9e..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.RegionName)); + 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