mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
Added autoCapitalization on Enter button press
This commit is contained in:
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user