mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
code_style: run dotnet format
This commit is contained in:
parent
b0d3d302bb
commit
d66053a42d
3 changed files with 6 additions and 4 deletions
|
@ -247,7 +247,7 @@ namespace SourceGit
|
|||
var primary = onlyUseMonospaceFontInEditor ? defaultFont : monospaceFont;
|
||||
if (!string.IsNullOrEmpty(primary))
|
||||
resDic.Add("Fonts.Primary", new FontFamily(primary));
|
||||
|
||||
|
||||
if (resDic.Count > 0)
|
||||
{
|
||||
app.Resources.MergedDictionaries.Add(resDic);
|
||||
|
|
|
@ -78,7 +78,8 @@ namespace SourceGit.ViewModels
|
|||
public string DefaultFontFamily
|
||||
{
|
||||
get => _defaultFontFamily;
|
||||
set {
|
||||
set
|
||||
{
|
||||
if (SetProperty(ref _defaultFontFamily, value) && !_isLoading)
|
||||
App.SetFonts(_defaultFontFamily, _monospaceFontFamily, _onlyUseMonoFontInEditor);
|
||||
}
|
||||
|
|
|
@ -1866,8 +1866,9 @@ namespace SourceGit.ViewModels
|
|||
target.Icon = App.CreateMenuIcon(b.IsCurrent ? "Icons.Check" : "Icons.Branch");
|
||||
target.Click += (_, e) =>
|
||||
{
|
||||
App.OpenDialog(new Views.BranchCompare() {
|
||||
DataContext = new BranchCompare(_fullpath, branch, dup)
|
||||
App.OpenDialog(new Views.BranchCompare()
|
||||
{
|
||||
DataContext = new BranchCompare(_fullpath, branch, dup)
|
||||
});
|
||||
e.Handled = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue