mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
rename displayString to label for menu items
This commit is contained in:
@@ -105,7 +105,7 @@ func (gui *Gui) askForConfigFile(action func(file string) error) error {
|
||||
default:
|
||||
menuItems := slices.Map(confPaths, func(path string) *types.MenuItem {
|
||||
return &types.MenuItem{
|
||||
DisplayString: path,
|
||||
Label: path,
|
||||
OnPress: func() error {
|
||||
return action(path)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user