Skip to content

Commit a3e8e4a

Browse files
committed
Cleanup FileUIHelpers.cs
1 parent d95bfde commit a3e8e4a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Brio/UI/Controls/Stateless/FileUIHelpers.cs

+2-4
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ public static void ShowExportPoseModal(PosingCapability capability)
4848

4949
public static void ShowImportCharacterModal(ActorAppearanceCapability capability, AppearanceImportOptions options)
5050
{
51-
List<Type> types = new();
52-
types.Add(typeof(ActorAppearanceUnion));
53-
types.Add(typeof(AnamnesisCharaFile));
51+
List<Type> types = [typeof(ActorAppearanceUnion), typeof(AnamnesisCharaFile)];
5452

5553
if(capability.CanMcdf)
5654
types.Add(typeof(MareCharacterDataFile));
5755

58-
TypeFilter filter = new TypeFilter("Characters", types.ToArray());
56+
TypeFilter filter = new TypeFilter("Characters", [.. types]);
5957

6058
LibraryManager.Get(filter, (r) =>
6159
{

0 commit comments

Comments
 (0)