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 6a3d1cc commit 16bb923Copy full SHA for 16bb923
src/Files.App/Helpers/UI/UIFilesystemHelpers.cs
@@ -324,7 +324,10 @@ public static async Task CreateFileFromDialogResultTypeAsync(AddItemDialogItemTy
324
break;
325
}
326
327
- if (created.Status == ReturnResult.AccessUnauthorized)
+ // Add newly created item to recent files list
328
+ if (created.Status == ReturnResult.Success && created.Item?.Path is not null)
329
+ App.RecentItemsManager.AddToRecentItems(created.Item.Path);
330
+ else if (created.Status == ReturnResult.AccessUnauthorized)
331
{
332
await DialogDisplayHelper.ShowDialogAsync
333
(
0 commit comments