summaryrefslogtreecommitdiffstats
path: root/pkg/gui/credentials_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-10-17 17:38:59 +1100
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-10-17 06:41:21 +0000
commite7c27b6f4aef44a2391dd207e1321008b5d1dcff (patch)
tree62dee76c82b678a793e1361764e68699998c75af /pkg/gui/credentials_panel.go
parent345c90ac05bffd6e4163be9dabc0386cd8918057 (diff)
small fixes
Diffstat (limited to 'pkg/gui/credentials_panel.go')
-rw-r--r--pkg/gui/credentials_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/credentials_panel.go b/pkg/gui/credentials_panel.go
index cb814243f..320f535f5 100644
--- a/pkg/gui/credentials_panel.go
+++ b/pkg/gui/credentials_panel.go
@@ -43,7 +43,7 @@ func (gui *Gui) handleSubmitCredential() error {
credentialsView := gui.Views.Credentials
message := strings.TrimSpace(credentialsView.TextArea.GetContent())
gui.credentials <- message
- gui.clearEditorView(credentialsView)
+ credentialsView.ClearTextArea()
if err := gui.returnFromContext(); err != nil {
return err
}