mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Remove auto capitalization by Shift+puncs"
This commit is contained in:
commit
8493603be7
@ -2022,13 +2022,6 @@ public class LatinIME extends InputMethodService
|
|||||||
if (inputView == null) return;
|
if (inputView == null) return;
|
||||||
LatinKeyboard latinKeyboard = inputView.getLatinKeyboard();
|
LatinKeyboard latinKeyboard = inputView.getLatinKeyboard();
|
||||||
if (latinKeyboard == null) return;
|
if (latinKeyboard == null) return;
|
||||||
if (latinKeyboard.isShiftLocked()) {
|
|
||||||
suggestion = suggestion.toString().toUpperCase();
|
|
||||||
} else if (preferCapitalization()
|
|
||||||
|| (mKeyboardSwitcher.isAlphabetMode() && latinKeyboard.isShifted())) {
|
|
||||||
suggestion = suggestion.toString().toUpperCase().charAt(0)
|
|
||||||
+ suggestion.subSequence(1, suggestion.length()).toString();
|
|
||||||
}
|
|
||||||
InputConnection ic = getCurrentInputConnection();
|
InputConnection ic = getCurrentInputConnection();
|
||||||
if (ic != null) {
|
if (ic != null) {
|
||||||
rememberReplacedWord(suggestion);
|
rememberReplacedWord(suggestion);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user