We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc7298 commit ca40628Copy full SHA for ca40628
src/Files.App/Helpers/UI/UIFilesystemHelpers.cs
@@ -87,7 +87,7 @@ public static async Task CreateFileFromDialogResultTypeAsync(AddItemDialogItemTy
87
string? userInput = null;
88
if (itemType != AddItemDialogItemType.File || itemInfo?.Command is null)
89
{
90
- DynamicDialog dialog = DynamicDialogFactory.GetFor_CreateItemDialog(itemInfo?.Name ?? itemType.ToString().ToLower());
+ DynamicDialog dialog = DynamicDialogFactory.GetFor_CreateItemDialog(itemType.ToString().GetLocalizedResource());
91
await dialog.TryShowAsync(); // Show rename dialog
92
93
if (dialog.DynamicResult != DynamicDialogResult.Primary)
0 commit comments