Optimize code ,add IsGroupType extension. Adjust EConfigType

This commit is contained in:
2dust
2025-10-08 17:13:54 +08:00
parent a559586e71
commit 91af50f99a
17 changed files with 37 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ public class ProfileItem : ReactiveObject
public bool IsComplex()
{
return ConfigType is EConfigType.Custom or > EConfigType.Group;
return ConfigType.IsComplexType();
}
public bool IsValid()