From 419cb9feb84d98633e5a5b15776b4956c5068a58 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 19 Aug 2020 21:51:50 +1000 Subject: more standardisation --- pkg/gui/branches_panel.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'pkg/gui/branches_panel.go') diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index 93eb78180..92bc5e660 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -6,7 +6,6 @@ import ( "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/commands" - "github.com/jesseduffield/lazygit/pkg/gui/presentation" ) // list panel functions @@ -82,16 +81,6 @@ func (gui *Gui) refreshBranches() { gui.refreshStatus() } -func (gui *Gui) renderLocalBranchesContext() error { - branchesView := gui.getBranchesView() - - gui.refreshSelectedLine(&gui.State.Panels.Branches.SelectedLine, len(gui.State.Branches)) - displayStrings := presentation.GetBranchListDisplayStrings(gui.State.Branches, gui.State.ScreenMode != SCREEN_NORMAL, gui.State.Diff.Ref) - gui.renderDisplayStrings(branchesView, displayStrings) - - return nil -} - // specific functions func (gui *Gui) handleBranchPress(g *gocui.Gui, v *gocui.View) error { -- cgit v1.2.3