diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-10 07:51:06 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-10 07:51:06 +0100 |
commit | 61c2778de1eaf288f40bc2b475644724a7b6988a (patch) | |
tree | d428e4bc27e94de32e8dc6728f8c4d2ae70b1078 /pkg/gui/view_helpers.go | |
parent | 3c17bf761a63310e3760980b07b003b4ba44e0e3 (diff) |
Changed pushPassUname name to credentials
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 8ed764c6f..1046fb32e 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -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 |