From 2b075c86ddbdb2fbc69d6775d9b80673cd0764a4 Mon Sep 17 00:00:00 2001 From: merkost Date: Thu, 8 Jun 2023 15:58:08 +1000 Subject: [PATCH] Refactoring --- .../simplemobiletools/keyboard/services/SimpleKeyboardIME.kt | 2 -- 1 file changed, 2 deletions(-) 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 a36b249..647edc2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -85,7 +85,6 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL } } - // in other cases reset shift to OFF keyboard?.setShifted(ShiftState.OFF) keyboardView?.invalidateAllKeys() } @@ -108,7 +107,6 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL inputConnection.sendKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL)) inputConnection.sendKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DEL)) } else { - inputConnection.commitText("", 1) } }