From f46bc3652dc3728238f210199e6f99ad694b4713 Mon Sep 17 00:00:00 2001 From: merkost Date: Tue, 30 May 2023 16:46:28 +1000 Subject: [PATCH] Commentary fixes --- .../simplemobiletools/keyboard/services/SimpleKeyboardIME.kt | 4 +--- 1 file changed, 1 insertion(+), 3 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 0fe6f82..3054377 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -117,7 +117,7 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL } } - // In other cases reset shift to OFF + // in other cases reset shift to OFF keyboard?.setShifted(ShiftState.OFF) keyboardView?.invalidateAllKeys() } @@ -128,8 +128,6 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL return } -// this.keyboardView.setEditorInfo(EditorInfo) - if (code != MyKeyboard.KEYCODE_SHIFT) { lastShiftPressTS = 0 }