mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
refactor: rename Models.Watcher.UpdateSubmodules
to Models.Watcher.SetSubmodules
* run `dotnet format`
This commit is contained in:
parent
71d2b295da
commit
a75d50bf97
7 changed files with 14 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue