Skip to content

Commit 7814546

Browse files
committed
Fix: Hidden inappropriate context menu items for Recycle Bin items.
1 parent 11d6a17 commit 7814546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
382382
}.Build(),
383383
new ContextMenuFlyoutItemViewModelBuilder(Commands.OpenItem)
384384
{
385-
IsVisible = !areAllItemsFolders
385+
IsVisible = !(currentInstanceViewModel.IsPageTypeRecycleBin && areAllItemsFolders)
386386
}.Build(),
387387
new ContextMenuFlyoutItemViewModelBuilder(Commands.OpenItemWithApplicationPicker)
388388
{

0 commit comments

Comments
 (0)