@@ -658,7 +658,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
658658 Tag = "OpenWith" ,
659659 CollapseLabel = true ,
660660 ShowInSearchPage = true ,
661- ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder && i . IsArchive ) ) ,
661+ ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == StorageItemTypes . Folder && i . IsArchive ) ) ,
662662 } ,
663663 new ContextMenuFlyoutItemViewModel ( )
664664 {
@@ -675,7 +675,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
675675 }
676676 } ,
677677 ShowInSearchPage = true ,
678- ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder && i . IsArchive ) ) ,
678+ ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == StorageItemTypes . Folder && i . IsArchive ) ) ,
679679 } ,
680680 new ContextMenuFlyoutItemViewModel ( )
681681 {
@@ -688,10 +688,10 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
688688 new ContextMenuFlyoutItemViewModel ( )
689689 {
690690 Text = "BaseLayoutItemContextFlyoutOpenInNewPane/Text" . GetLocalizedResource ( ) ,
691- Glyph = "\uE117 " ,
691+ Glyph = "\xF117 " ,
692692 GlyphFontFamilyName = "CustomGlyph" ,
693693 Command = commandsViewModel . OpenDirectoryInNewPaneCommand ,
694- ShowItem = userSettingsService . PreferencesSettingsService . IsDualPaneEnabled && selectedItems . All ( i => i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder ) ,
694+ ShowItem = userSettingsService . PreferencesSettingsService . IsDualPaneEnabled && selectedItems . All ( i => i . PrimaryItemAttribute == StorageItemTypes . Folder ) ,
695695 SingleItemOnly = true ,
696696 ShowInSearchPage = true ,
697697 ShowInFtpPage = true ,
@@ -703,7 +703,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
703703 Glyph = "\uF113 " ,
704704 GlyphFontFamilyName = "CustomGlyph" ,
705705 Command = commandsViewModel . OpenDirectoryInNewTabCommand ,
706- ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder ) ,
706+ ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == StorageItemTypes . Folder ) ,
707707 ShowInSearchPage = true ,
708708 ShowInFtpPage = true ,
709709 ShowInZipPage = true ,
@@ -713,7 +713,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
713713 Text = "BaseLayoutItemContextFlyoutOpenInNewWindow/Text" . GetLocalizedResource ( ) ,
714714 Glyph = "\uE737 " ,
715715 Command = commandsViewModel . OpenInNewWindowItemCommand ,
716- ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder ) ,
716+ ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == StorageItemTypes . Folder ) ,
717717 ShowInSearchPage = true ,
718718 ShowInFtpPage = true ,
719719 ShowOnShift = true ,
0 commit comments