enhance: support save RepositoryNode changes instantly

This commit is contained in:
Gadfly 2024-09-02 12:05:24 +08:00
parent 28b6ce4993
commit c85293c86a
No known key found for this signature in database
3 changed files with 15 additions and 11 deletions

View file

@ -261,9 +261,6 @@ namespace SourceGit.Views
if (sender is CheckBox box)
{
ViewModels.Preference.Instance.UseSystemWindowFrame = box.IsChecked == true;
#pragma warning disable CS4014
ViewModels.Preference.Instance.SaveAsync();
#pragma warning restore CS4014
var dialog = new ConfirmRestart();
App.OpenDialog(dialog);