Clear verification modal input bar placeholder after accepting

This commit is contained in:
Tulir Asokan 2020-07-25 20:59:54 +03:00
parent ee3594db46
commit aac9db09d6

View File

@ -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 {