Skip to content

Commit ca40628

Browse files
yaira2hishitetsu
andauthored
Update src/Files.App/Helpers/UI/UIFilesystemHelpers.cs
Co-authored-by: hishitetsu <[email protected]>
1 parent 8cc7298 commit ca40628

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(itemInfo?.Name ?? itemType.ToString().ToLower());
90+
DynamicDialog dialog = DynamicDialogFactory.GetFor_CreateItemDialog(itemType.ToString().GetLocalizedResource());
9191
await dialog.TryShowAsync(); // Show rename dialog
9292

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

0 commit comments

Comments
 (0)