mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-02-01 18:46:42 +01:00
Added autoCapitalization on Enter button press
This commit is contained in:
parent
95f05a7b96
commit
84e1b8bca9
@ -149,7 +149,8 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
|
||||
inputConnection.sendKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_ENTER))
|
||||
|
||||
if (config.enableSentencesCapitalization) {
|
||||
keyboard!!.mShiftState = ShiftState.ON_ONE_CHAR
|
||||
keyboard!!.setShifted(ShiftState.ON_ONE_CHAR)
|
||||
keyboardView!!.invalidateAllKeys()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user