refactor: rename Models.Watcher.UpdateSubmodules to Models.Watcher.SetSubmodules

* run `dotnet format`
This commit is contained in:
leo 2024-08-09 11:33:37 +08:00
parent 71d2b295da
commit a75d50bf97
No known key found for this signature in database
7 changed files with 14 additions and 14 deletions

View file

@ -778,8 +778,8 @@ namespace SourceGit.ViewModels
public void RefreshSubmodules()
{
var submodules = new Commands.QuerySubmodules(_fullpath).Result();
if (_watcher != null)
_watcher.UpdateSubmodules(submodules);
if (_watcher != null)
_watcher.SetSubmodules(submodules);
Dispatcher.UIThread.Invoke(() => Submodules = submodules);
}