diff options
Diffstat (limited to 'pkg/gui/remotes_panel.go')
-rw-r--r-- | pkg/gui/remotes_panel.go | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pkg/gui/remotes_panel.go b/pkg/gui/remotes_panel.go index 24058ea84..32d69498d 100644 --- a/pkg/gui/remotes_panel.go +++ b/pkg/gui/remotes_panel.go @@ -67,15 +67,7 @@ func (gui *Gui) refreshRemotes() error { } } - // TODO: see if this works for deleting remote branches - switch gui.getBranchesView().Context { - case "remotes": - return gui.renderRemotesWithSelection() - case "remote-branches": - return gui.renderRemoteBranchesWithSelection() - } - - return nil + return gui.postRefreshUpdate(gui.contextForContextKey(gui.getBranchesView().Context)) } func (gui *Gui) renderRemotesWithSelection() error { |