mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 20:16:06 +08:00
Tweak preference order
This commit is contained in:
parent
3c946c353c
commit
6398322052
@ -62,6 +62,8 @@ class AppPrefs(private val sharedPreferences: SharedPreferences) {
|
||||
"haptic_on_keyup",
|
||||
false
|
||||
) { hapticOnKeyPress.getValue() != InputFeedbackMode.Disabled }
|
||||
val hapticOnRepeat = switch(R.string.haptic_on_repeat, "haptic_on_repeat", false)
|
||||
|
||||
val buttonPressVibrationMilliseconds: ManagedPreference.PInt
|
||||
val buttonLongPressVibrationMilliseconds: ManagedPreference.PInt
|
||||
|
||||
@ -83,8 +85,6 @@ class AppPrefs(private val sharedPreferences: SharedPreferences) {
|
||||
buttonLongPressVibrationMilliseconds = secondary
|
||||
}
|
||||
|
||||
val hapticOnRepeat = switch(R.string.haptic_on_repeat, "haptic_on_repeat", false)
|
||||
|
||||
val buttonPressVibrationAmplitude: ManagedPreference.PInt
|
||||
val buttonLongPressVibrationAmplitude: ManagedPreference.PInt
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user