From aac9db09d6e2e678dceacc0b43d3e4e4878d9933 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 25 Jul 2020 20:59:54 +0300 Subject: Clear verification modal input bar placeholder after accepting --- ui/verification-modal.go | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit v1.2.3