We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca294a commit fbfdaecCopy full SHA for fbfdaec
src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs
@@ -98,6 +98,15 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
98
99
return new List<ContextMenuFlyoutItemViewModel>()
100
{
101
+ new ContextMenuFlyoutItemViewModelBuilder(Commands.CloseActivePane)
102
+ {
103
+ IsVisible = !itemsSelected && Commands.CloseActivePane.IsExecutable,
104
+ }.Build(),
105
+ new ContextMenuFlyoutItemViewModel()
106
107
+ ItemType = ContextMenuFlyoutItemType.Separator,
108
+ ShowItem = !itemsSelected && Commands.CloseActivePane.IsExecutable
109
+ },
110
new ContextMenuFlyoutItemViewModel()
111
112
Text = "Layout".GetLocalizedResource(),
0 commit comments