diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt index fe2ffd5..ddfd31e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -88,6 +88,10 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL return } + if (code != MyKeyboard.KEYCODE_SHIFT) { + lastShiftPressTS = 0 + } + when (code) { MyKeyboard.KEYCODE_DELETE -> { if (keyboard!!.mShiftState == SHIFT_ON_ONE_CHAR) {