Tweak preference order

This commit is contained in:
Rocka 2024-12-23 00:53:30 +08:00
parent 3c946c353c
commit 6398322052
No known key found for this signature in database
GPG Key ID: 28031158FFDD6853

View File

@ -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