enhance: reduce the times calling Save() (#436)

This commit is contained in:
leo 2024-09-02 14:14:52 +08:00
parent 9fe8ffcea9
commit 931831431b
No known key found for this signature in database
4 changed files with 18 additions and 13 deletions

View file

@ -18,7 +18,7 @@ namespace SourceGit.ViewModels
public override Task<bool> Sure()
{
Preference.Instance.RemoveNode(_node);
Preference.Instance.RemoveNode(_node, true);
Welcome.Instance.Refresh();
return null;
}