Skip to content

Commit a11ced6

Browse files
committed
Fix
1 parent a9bac32 commit a11ced6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,10 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
490490
IsVisible = itemsSelected,
491491
IsPrimary = true,
492492
}.Build(),
493-
new ContextMenuFlyoutItemViewModelBuilder(Commands.OpenProperties)
493+
new ContextMenuFlyoutItemViewModelBuilder(ModifiableCommands.OpenProperties)
494494
{
495495
IsPrimary = true,
496-
IsVisible = Commands.OpenProperties.IsExecutable
496+
IsVisible = ModifiableCommands.OpenProperties.IsExecutable
497497
}.Build(),
498498
new ContextMenuFlyoutItemViewModelBuilder(Commands.OpenParentFolder).Build(),
499499
new ContextMenuFlyoutItemViewModelBuilder(Commands.PinFolderToSidebar)

src/Files.App/UserControls/InnerNavigationToolbar.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@
243243
AccessKey="O"
244244
AccessKeyInvoked="AppBarButton_AccessKeyInvoked"
245245
AutomationProperties.AutomationId="InnerNavigationToolbarPropertiesButton"
246-
Command="{x:Bind Commands.OpenProperties, Mode=OneWay}"
247-
IsEnabled="{x:Bind Commands.OpenProperties.IsExecutable, Mode=OneWay}"
248-
KeyboardAcceleratorTextOverride="{x:Bind Commands.OpenProperties.HotKeyText, Mode=OneWay}"
249-
Label="{x:Bind Commands.OpenProperties.Label}"
246+
Command="{x:Bind ModifiableCommands.OpenProperties, Mode=OneWay}"
247+
IsEnabled="{x:Bind ModifiableCommands.OpenProperties.IsExecutable, Mode=OneWay}"
248+
KeyboardAcceleratorTextOverride="{x:Bind ModifiableCommands.OpenProperties.HotKeyText, Mode=OneWay}"
249+
Label="{x:Bind ModifiableCommands.OpenProperties.Label}"
250250
LabelPosition="Collapsed"
251-
ToolTipService.ToolTip="{x:Bind Commands.OpenProperties.LabelWithHotKey, Mode=OneWay}">
252-
<controls:ThemedIcon Style="{x:Bind Commands.OpenProperties.ThemedIconStyle, Mode=OneTime}" />
251+
ToolTipService.ToolTip="{x:Bind ModifiableCommands.OpenProperties.LabelWithHotKey, Mode=OneWay}">
252+
<controls:ThemedIcon Style="{x:Bind ModifiableCommands.OpenProperties.ThemedIconStyle, Mode=OneTime}" />
253253
</AppBarButton>
254254

255255
<!-- (Divider) -->

0 commit comments

Comments
 (0)