1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Removed getPushPassUnameView function

This commit is contained in:
mjarkk
2018-11-10 09:09:18 +01:00
parent 834e42897d
commit 32ecc6d745
3 changed files with 2 additions and 7 deletions

View File

@ -269,7 +269,7 @@ func (gui *Gui) layout(g *gocui.Gui) error {
}
}
if gui.getPushPassUnameView(g) == nil {
if check, _ := g.View("pushPassUname"); 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 err != gocui.ErrUnknownView {