@@ -369,7 +369,6 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
369369 ShowInFtpPage = true
370370 } ,
371371 new ContextMenuFlyoutItemViewModelBuilder ( Commands . FormatDrive ) . Build ( ) ,
372- new ContextMenuFlyoutItemViewModelBuilder ( Commands . OpenStorageSense ) . Build ( ) ,
373372 new ContextMenuFlyoutItemViewModelBuilder ( Commands . EmptyRecycleBin )
374373 {
375374 IsVisible = currentInstanceViewModel . IsPageTypeRecycleBin && ! itemsSelected ,
@@ -599,12 +598,15 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
599598 new ContextMenuFlyoutItemViewModel ( )
600599 {
601600 ItemType = ContextMenuFlyoutItemType . Separator ,
602- ShowItem = ! itemsSelected && Commands . OpenTerminal . IsExecutable || areAllItemsFolders && Commands . OpenTerminal . IsExecutable
601+ ShowItem = ( ! itemsSelected && Commands . OpenTerminal . IsExecutable ) ||
602+ ( areAllItemsFolders && Commands . OpenTerminal . IsExecutable ) ||
603+ Commands . OpenStorageSense . IsExecutable
603604 } ,
604605 new ContextMenuFlyoutItemViewModelBuilder ( Commands . OpenTerminal )
605606 {
606- IsVisible = ! itemsSelected && Commands . OpenTerminal . IsExecutable || areAllItemsFolders && Commands . OpenTerminal . IsExecutable
607+ IsVisible = ( ! itemsSelected && Commands . OpenTerminal . IsExecutable ) || ( areAllItemsFolders && Commands . OpenTerminal . IsExecutable )
607608 } . Build ( ) ,
609+ new ContextMenuFlyoutItemViewModelBuilder ( Commands . OpenStorageSense ) . Build ( ) ,
608610 // Shell extensions are not available on the FTP server or in the archive,
609611 // but following items are intentionally added because icons in the context menu will not appear
610612 // unless there is at least one menu item with an icon that is not an ThemedIconModel. (#12943)
0 commit comments