aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-07-25 20:59:54 +0300
committerTulir Asokan <tulir@maunium.net>2020-07-25 20:59:54 +0300
commitaac9db09d6e2e678dceacc0b43d3e4e4878d9933 (patch)
tree09bea012faee131c99f8dc92dfc11cd16ddef678 /ui
parentee3594db46fe261962f0a8a11c48cb9d6f84938f (diff)
Clear verification modal input bar placeholder after accepting
Diffstat (limited to 'ui')
-rw-r--r--ui/verification-modal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/verification-modal.go b/ui/verification-modal.go
index 54c2ecf..b3fbd35 100644
--- a/ui/verification-modal.go
+++ b/ui/verification-modal.go
@@ -216,6 +216,7 @@ func (vm *VerificationModal) OnKeyEvent(event mauview.KeyEvent) bool {
debug.Print("Rejecting verification")
vm.confirmChan <- false
}
+ vm.inputBar.SetPlaceholder("")
vm.inputBar.SetTextAndMoveCursor("")
return true
} else {