Rename ProfileGroupItem.ParentIndexId to IndexId

Because ProfileGroupItem is an extension of ProfileItem, it is better to name the fields the same way.
This commit is contained in:
2dust
2025-10-07 14:01:36 +08:00
parent 0a1d6db9d1
commit f76fd364a2
5 changed files with 19 additions and 19 deletions

View File

@@ -218,7 +218,7 @@ public class AddGroupServerViewModel : MyReactiveObject
_ => EMultipleLoad.LeastPing,
};
var hasCycle = ProfileGroupItemManager.HasCycle(profileGroup.ParentIndexId);
var hasCycle = ProfileGroupItemManager.HasCycle(profileGroup.IndexId);
if (hasCycle)
{
NoticeManager.Instance.Enqueue(string.Format(ResUI.GroupSelfReference, remarks));