| | |
| | | string fullName = UserCenterLogic.CombinePath(DirNameResourse.LocalMemoryDirectory, DirNameResourse.ResidenceSortFile);
|
| | | UserCenterLogic.SaveFileContent(fullName, listResidenceSort);
|
| | |
|
| | | Application.RunOnMainThread(() =>
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | if (this.Parent == null)
|
| | | {
|
| | |
| | |
|
| | | Room.InitAllRoom();
|
| | |
|
| | | Application.RunOnMainThread(() =>
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | //重新刷新列表
|
| | | this.listView.RemoveAll();
|
| | |
| | | }
|
| | | };
|
| | |
|
| | | if (info.IsOthreShare == true && info.AccountType != 1)
|
| | | if (info.IsOthreShare == true)
|
| | | {
|
| | | //分享的,又不拥有管理员权限的,不能更改
|
| | | //分享的,不能更改
|
| | | return;
|
| | | }
|
| | | //更改
|
| | |
| | | {
|
| | | if (Config.Instance.HomeFilePathList.Contains($"House_{keys}.json") == false)
|
| | | {
|
| | | //保存顺序
|
| | | listResidenceSort.Remove(keys);
|
| | | Room.CurrentRoom.SaveFloorSort(listResidenceSort);
|
| | |
|
| | | this.listView.RemoveAll();
|
| | | //数据已经变更
|
| | | HdlThreadLogic.Current.RunThread(() =>
|