Skip to content

Commit f3161fe

Browse files
authored
Fix: Fixed COMException with BaseLayoutPage.GetAllItems - part 2 (#14447)
1 parent 4ef4730 commit f3161fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Views/Layouts/BaseLayoutPage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ private async void BaseContextFlyout_Opening(object? sender, object e)
680680

681681
public void UpdateSelectionSize()
682682
{
683-
var items = (selectedItems?.Any() ?? false) ? selectedItems : GetAllItems();
683+
var items = (selectedItems?.Any() ?? false) ? selectedItems : SafetyExtensions.IgnoreExceptions(GetAllItems, App.Logger);
684684
if (items is null)
685685
return;
686686

0 commit comments

Comments
 (0)