1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Changed pushPassUname name to credentials

This commit is contained in:
mjarkk
2018-12-10 07:51:06 +01:00
parent 3c17bf761a
commit 61c2778de1
7 changed files with 29 additions and 29 deletions

View File

@ -101,7 +101,7 @@ func (gui *Gui) newLineFocused(g *gocui.Gui, v *gocui.View) error {
return nil
case "commitMessage":
return gui.handleCommitFocused(g, v)
case "pushPassUname":
case "credentials":
return gui.handlePushFocused(g, v)
case "main":
// TODO: pull this out into a 'view focused' function
@ -303,7 +303,7 @@ func (gui *Gui) currentViewName(g *gocui.Gui) string {
func (gui *Gui) resizeCurrentPopupPanel(g *gocui.Gui) error {
v := g.CurrentView()
if v.Name() == "commitMessage" || v.Name() == "pushPassUname" || v.Name() == "confirmation" {
if v.Name() == "commitMessage" || v.Name() == "credentials" || v.Name() == "confirmation" {
return gui.resizePopupPanel(g, v)
}
return nil