Commit current word if we're switching modes
This commit is contained in:
parent
0ec4f4b262
commit
48a9a2e822
@ -158,6 +158,8 @@ class WordInputHandler(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun inputMode(key: Key) {
|
private fun inputMode(key: Key) {
|
||||||
|
if (codeword.isNotEmpty()) wkt9.onCommit()
|
||||||
|
|
||||||
if (key == Key.B4) wkt9.onSwitchInputHandler(InputMode.Number)
|
if (key == Key.B4) wkt9.onSwitchInputHandler(InputMode.Number)
|
||||||
else wkt9.onSwitchInputHandler(InputMode.Letter)
|
else wkt9.onSwitchInputHandler(InputMode.Letter)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user