Skip to content

Commit a40c5c7

Browse files
committed
Set tag color for label
1 parent 3cf183e commit a40c5c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Files.Uwp/UserControls/Menus/FileTagsContextMenu.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
using System.Collections.Generic;
99
using System.Linq;
1010
using Windows.UI.Xaml.Controls;
11+
using Windows.UI.Xaml.Media;
12+
using Files.Uwp.Helpers;
1113

1214
namespace Files.Uwp.UserControls.Menus
1315
{
@@ -34,6 +36,7 @@ public MenuFlyout Get()
3436
Text = tag.TagName,
3537
Tag = tag
3638
};
39+
tagItem.Foreground = new SolidColorBrush(ColorHelpers.FromHex(tag.ColorString));
3740
tagItem.Click += TagItem_Click;
3841
item.Items.Add(tagItem);
3942
}

0 commit comments

Comments
 (0)