Clear verification modal input bar placeholder after accepting
This commit is contained in:
parent
ee3594db46
commit
aac9db09d6
@ -216,6 +216,7 @@ func (vm *VerificationModal) OnKeyEvent(event mauview.KeyEvent) bool {
|
|||||||
debug.Print("Rejecting verification")
|
debug.Print("Rejecting verification")
|
||||||
vm.confirmChan <- false
|
vm.confirmChan <- false
|
||||||
}
|
}
|
||||||
|
vm.inputBar.SetPlaceholder("")
|
||||||
vm.inputBar.SetTextAndMoveCursor("")
|
vm.inputBar.SetTextAndMoveCursor("")
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user