diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-17 20:49:47 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | e87635295a7afde0e82ecee8b820e5708fb2f046 (patch) | |
tree | f2063d14c117ed9d76aee902d55618b27cf83f4d /pkg/gui/credentials_panel.go | |
parent | 62a662054bc40aafd780b8e10912aa7cc21b05b2 (diff) |
dont check for error when sending view to bottom
Diffstat (limited to 'pkg/gui/credentials_panel.go')
-rw-r--r-- | pkg/gui/credentials_panel.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/gui/credentials_panel.go b/pkg/gui/credentials_panel.go index a9dc11417..3edcb3e0b 100644 --- a/pkg/gui/credentials_panel.go +++ b/pkg/gui/credentials_panel.go @@ -48,10 +48,7 @@ func (gui *Gui) handleSubmitCredential(g *gocui.Gui, v *gocui.View) error { } func (gui *Gui) handleCloseCredentialsView(g *gocui.Gui, v *gocui.View) error { - _, err := g.SetViewOnBottom("credentials") - if err != nil { - return err - } + _, _ = g.SetViewOnBottom("credentials") gui.credentials <- "" return gui.returnFromContext() |