mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-01 22:52:01 +02:00
remove useless condition
This commit is contained in:
6
gui.go
6
gui.go
@@ -196,10 +196,8 @@ func keybindings(g *gocui.Gui) error {
|
||||
if err := g.SetKeybinding("stash", 'k', gocui.ModNone, handleStashPop); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := g.SetKeybinding("stash", 'd', gocui.ModNone, handleStashDrop); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
return g.SetKeybinding("stash", 'd', gocui.ModNone, handleStashDrop)
|
||||
}
|
||||
|
||||
func layout(g *gocui.Gui) error {
|
||||
|
||||
Reference in New Issue
Block a user