summaryrefslogtreecommitdiffstats
path: root/pkg/gui/menu_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/menu_panel.go')
-rw-r--r--pkg/gui/menu_panel.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/gui/menu_panel.go b/pkg/gui/menu_panel.go
index fe05e7e32..b777536ee 100644
--- a/pkg/gui/menu_panel.go
+++ b/pkg/gui/menu_panel.go
@@ -5,7 +5,6 @@ import (
"github.com/jesseduffield/lazygit/pkg/gui/types"
"github.com/jesseduffield/lazygit/pkg/theme"
- "github.com/jesseduffield/lazygit/pkg/utils"
)
// note: items option is mutated by this function
@@ -31,7 +30,7 @@ func (gui *Gui) createMenu(opts types.CreateMenuOptions) error {
item.LabelColumns[0] = fmt.Sprintf("%s...", item.LabelColumns[0])
}
- maxColumnSize = utils.Max(maxColumnSize, len(item.LabelColumns))
+ maxColumnSize = max(maxColumnSize, len(item.LabelColumns))
}
for _, item := range opts.Items {