Skip to content

Commit

Permalink
Fixed issue where empty recycle bin option would not be shown (#4419)
Browse files Browse the repository at this point in the history
  • Loading branch information
winston-de committed Apr 2, 2021
1 parent de8ce06 commit 890e975
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Files/Helpers/ContextFlyoutItemHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,10 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
{
Text = "BaseLayoutContextFlyoutEmptyRecycleBin/Text".GetLocalized(),
Glyph = "\uEF88",
GlyphFontFamilyName = "RecycleBinIcons",
Command = commandsViewModel.EmptyRecycleBinCommand,
ShowItem =currentInstanceViewModel.IsPageTypeRecycleBin
ShowItem =currentInstanceViewModel.IsPageTypeRecycleBin,
ShowInRecycleBin = true,
},
};
}
Expand Down

0 comments on commit 890e975

Please sign in to comment.