ux: icons

This commit is contained in:
leo 2024-07-15 15:40:15 +08:00
parent a597845bb4
commit 684fedb9bd
No known key found for this signature in database
18 changed files with 52 additions and 52 deletions

View file

@ -414,7 +414,7 @@ namespace SourceGit.ViewModels
var explore = new MenuItem();
explore.Header = App.Text("RevealFile");
explore.Icon = App.CreateMenuIcon("Icons.Folder.Open");
explore.Icon = App.CreateMenuIcon("Icons.Explore");
explore.IsEnabled = File.Exists(path) || Directory.Exists(path);
explore.Click += (_, e) =>
{
@ -872,7 +872,7 @@ namespace SourceGit.ViewModels
var explore = new MenuItem();
explore.IsEnabled = File.Exists(path) || Directory.Exists(path);
explore.Header = App.Text("RevealFile");
explore.Icon = App.CreateMenuIcon("Icons.Folder.Open");
explore.Icon = App.CreateMenuIcon("Icons.Explore");
explore.Click += (_, e) =>
{
Native.OS.OpenInFileManager(path, true);