黄学彪
2020-07-13 23420922845c9e77019a55c3b3e3271eb1ec261e
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlSceneLogic.cs
@@ -403,6 +403,8 @@
            {
                nowRoom.ListSceneId.Add(scene.Id);
                nowRoom.Save();
                //添加收藏场景时,需要刷新主页
                UserView.UserPage.Instance.RefreshAllForm = true;
            }
        }
@@ -616,6 +618,8 @@
                    HdlAutoBackupLogic.DeleteFile(sceneUI.IconPath);
                }
            }
            //删除场景时,需要刷新主页
            UserView.UserPage.Instance.RefreshAllForm = true;
        }
        /// <summary>
@@ -660,6 +664,8 @@
            {
                nowRoom.ListSceneId.Remove(scene.Id);
                nowRoom.Save();
                //取消收藏场景时,需要刷新主页
                UserView.UserPage.Instance.RefreshAllForm = true;
            }
        }
@@ -960,7 +966,7 @@
        public List<string> GetAllSceneFile()
        {
            List<string> listSceneFile = new List<string>();
            List<string> listAllFile = Global.FileListByHomeId();
            List<string> listAllFile = HdlFileLogic.Current.GetRootPathListFile();
            foreach (string file in listAllFile)
            {