We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605877f commit 66aa14bCopy full SHA for 66aa14b
src/Files.App/UserControls/Menus/FileTagsContextMenu.cs
@@ -13,6 +13,8 @@
13
using System.Collections.Generic;
14
using System.Linq;
15
using static Files.App.Helpers.MenuFlyoutHelper;
16
+using Microsoft.UI.Xaml;
17
+using Microsoft.UI.Xaml.Markup;
18
19
namespace Files.App.UserControls.Menus
20
{
@@ -33,9 +35,9 @@ public FileTagsContextMenu(IEnumerable<ListedItem> selectedItems)
33
35
Text = tag.Name,
34
36
Tag = tag
37
};
- tagItem.Icon = new FontIcon()
38
+ tagItem.Icon = new PathIcon()
39
- Glyph = "\uE8EC",
40
+ Data = (Geometry)XamlBindingHelper.ConvertValue(typeof(Geometry), (string)Application.Current.Resources["ColorIconFilledTag"]),
41
Foreground = new SolidColorBrush(ColorHelpers.FromHex(tag.Color))
42
43
tagItem.Click += TagItem_Click;
0 commit comments