Skip to content

Commit 013a752

Browse files
yaira2Copilot
andauthored
Update src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs
Co-authored-by: Copilot <[email protected]> Signed-off-by: Yair <[email protected]>
1 parent a3029f8 commit 013a752

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,9 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
619619
},
620620
new ContextMenuFlyoutItemViewModelBuilder(Commands.OpenTerminal)
621621
{
622-
IsVisible = UserSettingsService.GeneralSettingsService.ShowOpenTerminal &&
623-
Commands.OpenTerminal.IsExecutable &&
624-
(!itemsSelected || areAllItemsFolders)
622+
IsVisible = (!itemsSelected || areAllItemsFolders) &&
623+
Commands.OpenTerminal.IsExecutable &&
624+
UserSettingsService.GeneralSettingsService.ShowOpenTerminal
625625
}.Build(),
626626
new ContextMenuFlyoutItemViewModelBuilder(Commands.OpenStorageSense).Build(),
627627
new ContextMenuFlyoutItemViewModelBuilder(Commands.FormatDrive).Build(),

0 commit comments

Comments
 (0)