Fix broken autocap logic

This commit is contained in:
Alexander Pataridze 2020-04-23 20:49:53 +04:00
parent 9007bca534
commit e9e6db5577

View file

@ -135,7 +135,7 @@ public class SettingsValues {
mInputAttributes = inputAttributes;
// Get the settings preferences
mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, ScriptUtils.scriptSupportsUppercase(mLocale.getLanguage()));
mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true) && ScriptUtils.scriptSupportsUppercase(mLocale.getLanguage());
mVibrateOn = Settings.readVibrationEnabled(prefs, res);
mSoundOn = Settings.readKeypressSoundEnabled(prefs, res);
mKeyPreviewPopupOn = Settings.readKeyPreviewPopupEnabled(prefs, res);