We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
FileUIHelpers.cs
1 parent d95bfde commit a3e8e4aCopy full SHA for a3e8e4a
Brio/UI/Controls/Stateless/FileUIHelpers.cs
@@ -48,14 +48,12 @@ public static void ShowExportPoseModal(PosingCapability capability)
48
49
public static void ShowImportCharacterModal(ActorAppearanceCapability capability, AppearanceImportOptions options)
50
{
51
- List<Type> types = new();
52
- types.Add(typeof(ActorAppearanceUnion));
53
- types.Add(typeof(AnamnesisCharaFile));
+ List<Type> types = [typeof(ActorAppearanceUnion), typeof(AnamnesisCharaFile)];
54
55
if(capability.CanMcdf)
56
types.Add(typeof(MareCharacterDataFile));
57
58
- TypeFilter filter = new TypeFilter("Characters", types.ToArray());
+ TypeFilter filter = new TypeFilter("Characters", [.. types]);
59
60
LibraryManager.Get(filter, (r) =>
61
0 commit comments