From 4800e42f4500d10b8ee780f1f7f16881dc7faaae Mon Sep 17 00:00:00 2001 From: William-Hiatt Date: Mon, 6 Nov 2023 15:24:03 -0800 Subject: [PATCH] Added check to prevent disc eject error. --- src/Files.App/Data/Models/ItemViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Files.App/Data/Models/ItemViewModel.cs b/src/Files.App/Data/Models/ItemViewModel.cs index 846a548607c5..551a7ec139ba 100644 --- a/src/Files.App/Data/Models/ItemViewModel.cs +++ b/src/Files.App/Data/Models/ItemViewModel.cs @@ -2104,7 +2104,7 @@ async Task HandleChangesOccurredAsync() await OrderFilesAndFoldersAsync(); await ApplyFilesAndFoldersChangesAsync(); - if (lastItemAdded is not null) + if (lastItemAdded is not null && !lastItemAdded.IsArchive) { await RequestSelectionAsync(new List() { lastItemAdded }); lastItemAdded = null;