Skip to content

Commit 0d30a2b

Browse files
authored
Code Quality: Lowercase item type (#16325)
1 parent 1781b7f commit 0d30a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Helpers/UI/UIFilesystemHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static async Task CreateFileFromDialogResultTypeAsync(AddItemDialogItemTy
8787
string? userInput = null;
8888
if (itemType != AddItemDialogItemType.File || itemInfo?.Command is null)
8989
{
90-
DynamicDialog dialog = DynamicDialogFactory.GetFor_CreateItemDialog(itemType.ToString().GetLocalizedResource());
90+
DynamicDialog dialog = DynamicDialogFactory.GetFor_CreateItemDialog(itemType.ToString().GetLocalizedResource().ToLower());
9191
await dialog.TryShowAsync(); // Show rename dialog
9292

9393
if (dialog.DynamicResult != DynamicDialogResult.Primary)

0 commit comments

Comments
 (0)