diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-19 19:31:58 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 2fac2f9f1f5f662c7a382e1b625d6128caa80093 (patch) | |
tree | cf7c71db43a503d095ce90026201db65c57fdbb7 /pkg/gui/remotes_panel.go | |
parent | e4beaf4de96afee804d019e7c19eee833d3b1801 (diff) |
WIP
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 { |