diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-30 09:53:28 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 51547e38227b2443de955f4d17d46429039cf9f1 (patch) | |
tree | c1d8eccaa7736713b01cb00b574e9ed65c60bc8d /pkg/gui/submodules_panel.go | |
parent | e363606fb6eeff130e38466f5a63a3a8c0e6ec0d (diff) |
move all refresh code into the one file
Diffstat (limited to 'pkg/gui/submodules_panel.go')
-rw-r--r-- | pkg/gui/submodules_panel.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pkg/gui/submodules_panel.go b/pkg/gui/submodules_panel.go index 7c29c7840..2817ef7a5 100644 --- a/pkg/gui/submodules_panel.go +++ b/pkg/gui/submodules_panel.go @@ -47,17 +47,6 @@ func (gui *Gui) submodulesRenderToMain() error { }) } -func (gui *Gui) refreshStateSubmoduleConfigs() error { - configs, err := gui.git.Submodule.GetConfigs() - if err != nil { - return err - } - - gui.State.Submodules = configs - - return nil -} - func (gui *Gui) enterSubmodule(submodule *models.SubmoduleConfig) error { wd, err := os.Getwd() if err != nil { |