mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Rationalize how to use AdditionalFeaturesSettingUtils
It should be called regardless of the gesture input being enabled or not Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31
This commit is contained in:
parent
cfcf6660fc
commit
02938c6baf
@ -229,10 +229,10 @@ public final class SettingsFragment extends InputMethodSettingsFragment
|
||||
|
||||
if (!Settings.readFromBuildConfigIfGestureInputEnabled(res)) {
|
||||
removePreference(Settings.PREF_GESTURE_SETTINGS, getPreferenceScreen());
|
||||
} else {
|
||||
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(context, this);
|
||||
}
|
||||
|
||||
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(context, this);
|
||||
|
||||
setupKeyLongpressTimeoutSettings(prefs, res);
|
||||
setupKeypressVibrationDurationSettings(prefs, res);
|
||||
setupKeypressSoundVolumeSettings(prefs, res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user