mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08: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
|
@ -71,7 +71,7 @@ namespace SourceGit.Models
|
|||
}
|
||||
}
|
||||
|
||||
public void UpdateSubmodules(List<Submodule> submodules)
|
||||
public void SetSubmodules(List<Submodule> submodules)
|
||||
{
|
||||
lock (_lockSubmodule)
|
||||
{
|
||||
|
|
|
@ -779,7 +779,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
var submodules = new Commands.QuerySubmodules(_fullpath).Result();
|
||||
if (_watcher != null)
|
||||
_watcher.UpdateSubmodules(submodules);
|
||||
_watcher.SetSubmodules(submodules);
|
||||
|
||||
Dispatcher.UIThread.Invoke(() => Submodules = submodules);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue