mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
fix: failed get default font on some Linux distro (#447)
This commit is contained in:
parent
2a59cdbe92
commit
6688319714
3 changed files with 10 additions and 3 deletions
|
@ -75,7 +75,7 @@ namespace SourceGit
|
|||
AvaloniaXamlLoader.Load(this);
|
||||
|
||||
var pref = ViewModels.Preference.Instance;
|
||||
pref.PropertyChanged += (_1, _2) => pref.Save();
|
||||
pref.PropertyChanged += (_, _) => pref.Save();
|
||||
|
||||
SetLocale(pref.Locale);
|
||||
SetTheme(pref.Theme, pref.ThemeOverrides);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue