summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-12-10 07:51:06 +0100
committermjarkk <mkopenga@gmail.com>2018-12-10 07:51:06 +0100
commit61c2778de1eaf288f40bc2b475644724a7b6988a (patch)
treed428e4bc27e94de32e8dc6728f8c4d2ae70b1078 /pkg/gui/gui.go
parent3c17bf761a63310e3760980b07b003b4ba44e0e3 (diff)
Changed pushPassUname name to credentials
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index f9cf16475..33a8cdc43 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -341,20 +341,20 @@ func (gui *Gui) layout(g *gocui.Gui) error {
}
}
- if check, _ := g.View("pushPassUname"); check == nil {
+ if check, _ := g.View("credentials"); check == nil {
// doesn't matter where this view starts because it will be hidden
- if pushPassUnameView, err := g.SetView("pushPassUname", 0, 0, width/2, height/2, 0); err != nil {
+ if credentialsView, err := g.SetView("credentials", 0, 0, width/2, height/2, 0); err != nil {
if err != gocui.ErrUnknownView {
return err
}
- _, err := g.SetViewOnBottom("pushPassUname")
+ _, err := g.SetViewOnBottom("credentials")
if err != nil {
return err
}
- pushPassUnameView.Title = gui.Tr.SLocalize("PushUsername")
- pushPassUnameView.FgColor = gocui.ColorWhite
- pushPassUnameView.Editable = true
- pushPassUnameView.Editor = gocui.EditorFunc(gui.simpleEditor)
+ credentialsView.Title = gui.Tr.SLocalize("PushUsername")
+ credentialsView.FgColor = gocui.ColorWhite
+ credentialsView.Editable = true
+ credentialsView.Editor = gocui.EditorFunc(gui.simpleEditor)
}
}