Skip to content

Commit 70dc56b

Browse files
committed
Updated more icons
1 parent eeeed3b commit 70dc56b

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

src/Files.App/Helpers/ContextFlyoutItemHelper.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,9 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
218218
new ContextMenuFlyoutItemViewModel()
219219
{
220220
Text = "SortBy".GetLocalizedResource(),
221-
ColoredIcon = new ColoredIconModel()
221+
OpacityIcon = new OpacityIconModel()
222222
{
223-
BaseLayerGlyph = "\uF029",
224-
OverlayLayerGlyph = "\uF02A",
223+
OpacityIconStyle = "ColorIconSort",
225224
},
226225
ShowInRecycleBin = true,
227226
ShowInSearchPage = true,

src/Files.App/UserControls/SidebarControl.xaml.cs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,26 +213,29 @@ private List<ContextMenuFlyoutItemViewModel> GetLocationItemMenuItems(INavigatio
213213
new ContextMenuFlyoutItemViewModel()
214214
{
215215
Text = "OpenInNewTab".GetLocalizedResource(),
216-
Glyph = "\uF113",
217-
GlyphFontFamilyName = "CustomGlyph",
216+
OpacityIcon = new OpacityIconModel()
217+
{
218+
OpacityIconStyle = "ColorIconOpenInNewTab",
219+
},
218220
Command = OpenInNewTabCommand,
219221
ShowItem = options.IsLocationItem && userSettingsService.PreferencesSettingsService.ShowOpenInNewTab
220222
},
221223
new ContextMenuFlyoutItemViewModel()
222224
{
223225
Text = "OpenInNewWindow".GetLocalizedResource(),
224-
Glyph = "\uE737",
226+
OpacityIcon = new OpacityIconModel()
227+
{
228+
OpacityIconStyle = "ColorIconOpenInNewWindow",
229+
},
225230
Command = OpenInNewWindowCommand,
226231
ShowItem = options.IsLocationItem && userSettingsService.PreferencesSettingsService.ShowOpenInNewTab
227232
},
228233
new ContextMenuFlyoutItemViewModel()
229234
{
230235
Text = "OpenInNewPane".GetLocalizedResource(),
231-
ColoredIcon = new ColoredIconModel()
236+
OpacityIcon = new OpacityIconModel()
232237
{
233-
BaseBackdropGlyph = "\uF056",
234-
BaseLayerGlyph = "\uF03B",
235-
OverlayLayerGlyph = "\uF03C",
238+
OpacityIconStyle = "ColorIconRightPane",
236239
},
237240
Command = OpenInNewPaneCommand,
238241
ShowItem = options.IsLocationItem && userSettingsService.PreferencesSettingsService.ShowOpenInNewPane
@@ -276,7 +279,10 @@ private List<ContextMenuFlyoutItemViewModel> GetLocationItemMenuItems(INavigatio
276279
new ContextMenuFlyoutItemViewModel()
277280
{
278281
Text = "Properties".GetLocalizedResource(),
279-
Glyph = "\uE946",
282+
OpacityIcon = new OpacityIconModel()
283+
{
284+
OpacityIconStyle = "ColorIconProperties,
285+
},
280286
Command = OpenPropertiesCommand,
281287
CommandParameter = menu,
282288
ShowItem = options.ShowProperties

0 commit comments

Comments
 (0)