mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
Clear verification modal input bar placeholder after accepting
This commit is contained in:
parent
ee3594db46
commit
aac9db09d6
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue