黄学彪
2020-07-20 2029e64ec0491f7e511dc15bffaf821bfbabe2de
ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionSearchAllFile.cs
@@ -80,14 +80,14 @@
            var listDirectory = new List<string>();
            var listAllFile = new List<string>();
            string rootPath = Shared.IO.FileUtils.RootPath.Trim('/');
            if (this.nowDirectory.Trim('/') == rootPath)
            {
                //根目录只要两个就可以了
                listDirectory.Add(Common.Config.Instance.Guid);
                listDirectory.Add(Application.Skin != null ? Application.Skin : "Phone");
            }
            else
            //string rootPath = Shared.IO.FileUtils.RootPath.Trim('/');
            //if (this.nowDirectory.Trim('/') == rootPath)
            //{
            //    //根目录只要两个就可以了
            //    listDirectory.Add(Common.Config.Instance.Guid);
            //    listDirectory.Add(Application.Skin != null ? Application.Skin : "Phone");
            //}
            //else
            {
                var files = System.IO.Directory.GetDirectories(directory);
                foreach (var file in files)