Skip to content

Commit

Permalink
Fix: Fixed COMException with BaseLayoutPage.GetAllItems - part 2 (fil…
Browse files Browse the repository at this point in the history
  • Loading branch information
hishitetsu authored Jan 14, 2024
1 parent 4ef4730 commit f3161fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/Views/Layouts/BaseLayoutPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ private async void BaseContextFlyout_Opening(object? sender, object e)

public void UpdateSelectionSize()
{
var items = (selectedItems?.Any() ?? false) ? selectedItems : GetAllItems();
var items = (selectedItems?.Any() ?? false) ? selectedItems : SafetyExtensions.IgnoreExceptions(GetAllItems, App.Logger);
if (items is null)
return;

Expand Down

0 comments on commit f3161fe

Please sign in to comment.