Skip to content

Commit 50330ba

Browse files
committed
Update ShellContextMenuHelper.cs
1 parent c7fdfb3 commit 50330ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Files.App/Helpers/ShellContextMenuHelper.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,9 @@ public static async Task LoadShellMenuItems(
272272
var openWithItem = shellMenuItems.Where(x => (x.Tag as Win32ContextMenuItem)?.CommandString == "openas").ToList().FirstOrDefault();
273273
if (openWithItem is not null)
274274
{
275-
openWithItem.ColoredIcon = new ColoredIconModel()
275+
openWithItem.OpacityIcon = new OpacityIconModel()
276276
{
277-
BaseLayerGlyph = "\uF049",
278-
OverlayLayerGlyph = "\uF04A",
277+
OpacityIconStyle = "ColorIconOpenWith",
279278
};
280279
var (_, openWithItems) = ItemModelListToContextFlyoutHelper.GetAppBarItemsFromModel(new List<ContextMenuFlyoutItemViewModel>() { openWithItem });
281280
var placeholder = itemContextMenuFlyout.SecondaryCommands.Where(x => Equals((x as AppBarButton)?.Tag, "OpenWithPlaceholder")).FirstOrDefault() as AppBarButton;

0 commit comments

Comments
 (0)