Skip to content

Commit 829b5bb

Browse files
authored
Fix: Don't show Pin/Unpin for items in recycle bin (#10945)
1 parent 05e81d7 commit 829b5bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Files.App/Helpers/ContextFlyoutItemHelper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,6 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
983983
Command = commandsViewModel.PinItemToStartCommand,
984984
ShowOnShift = true,
985985
ShowItem = selectedItems.All(x => !x.IsShortcut && (x.PrimaryItemAttribute == StorageItemTypes.Folder || x.IsExecutable) && !x.IsArchive && !x.IsItemPinnedToStart),
986-
ShowInRecycleBin = true,
987986
ShowInSearchPage = true,
988987
ShowInFtpPage = true,
989988
SingleItemOnly = true,
@@ -995,7 +994,6 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
995994
Command = commandsViewModel.UnpinItemFromStartCommand,
996995
ShowOnShift = true,
997996
ShowItem = selectedItems.All(x => !x.IsShortcut && (x.PrimaryItemAttribute == StorageItemTypes.Folder || x.IsExecutable) && !x.IsArchive && x.IsItemPinnedToStart),
998-
ShowInRecycleBin = true,
999997
ShowInSearchPage = true,
1000998
ShowInFtpPage = true,
1001999
SingleItemOnly = true,

0 commit comments

Comments
 (0)