code_style: run dotnet format

This commit is contained in:
leo 2024-07-24 11:45:16 +08:00
parent 9e048751ae
commit 3ef703c65d
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ namespace SourceGit.Models
{
public class ResetMode
{
public static readonly ResetMode[] Supported =
public static readonly ResetMode[] Supported =
[
new ResetMode("Soft", "Keep all changes. Stage differences", "--soft", Brushes.Green),
new ResetMode("Mixed", "Keep all changes. Unstage differences", "--mixed", Brushes.Orange),

View file

@ -430,7 +430,7 @@ namespace SourceGit.ViewModels
e.Handled = true;
};
menu.Items.Add(copySHA);
var copyInfo = new MenuItem();
copyInfo.Header = App.Text("CommitCM.CopyInfo");
copyInfo.Icon = App.CreateMenuIcon("Icons.Copy");
@ -440,7 +440,7 @@ namespace SourceGit.ViewModels
e.Handled = true;
};
menu.Items.Add(copyInfo);
return menu;
}