diff --git a/app/build.gradle b/app/build.gradle index f7db6b3..0d68950 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,5 +42,5 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:06b9306331' + implementation 'com.github.SimpleMobileTools:Simple-Commons:db3561b188' } 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 245faf1..67f1f0e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -151,7 +151,10 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL } } } - updateShiftKeyState() + + if (primaryCode != MyKeyboard.KEYCODE_SHIFT) { + updateShiftKeyState() + } } override fun onText(text: CharSequence?) {}