code_style: run dotnet format

This commit is contained in:
leo 2024-08-20 11:53:37 +08:00
parent b0d3d302bb
commit d66053a42d
No known key found for this signature in database
3 changed files with 6 additions and 4 deletions

View file

@ -78,7 +78,8 @@ namespace SourceGit.ViewModels
public string DefaultFontFamily public string DefaultFontFamily
{ {
get => _defaultFontFamily; get => _defaultFontFamily;
set { set
{
if (SetProperty(ref _defaultFontFamily, value) && !_isLoading) if (SetProperty(ref _defaultFontFamily, value) && !_isLoading)
App.SetFonts(_defaultFontFamily, _monospaceFontFamily, _onlyUseMonoFontInEditor); App.SetFonts(_defaultFontFamily, _monospaceFontFamily, _onlyUseMonoFontInEditor);
} }

View file

@ -1866,7 +1866,8 @@ namespace SourceGit.ViewModels
target.Icon = App.CreateMenuIcon(b.IsCurrent ? "Icons.Check" : "Icons.Branch"); target.Icon = App.CreateMenuIcon(b.IsCurrent ? "Icons.Check" : "Icons.Branch");
target.Click += (_, e) => target.Click += (_, e) =>
{ {
App.OpenDialog(new Views.BranchCompare() { App.OpenDialog(new Views.BranchCompare()
{
DataContext = new BranchCompare(_fullpath, branch, dup) DataContext = new BranchCompare(_fullpath, branch, dup)
}); });
e.Handled = true; e.Handled = true;