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…
Reference in New Issue