diff options
| author | Jules Aguillon | 2024-01-09 00:43:28 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-01-09 00:43:28 +0100 |
| commit | 73267d68fb3ba04a5233a605a10969a8a9052961 (patch) | |
| tree | 632a6b81fe9360f0de7a8215b52548330d2b35ee /res/values | |
| parent | 3f2f3177dafab4e44a827f8614f3731a177ae281 (diff) | |
| download | unexpected-keyboard-73267d68fb3ba04a5233a605a10969a8a9052961.tar.gz unexpected-keyboard-73267d68fb3ba04a5233a605a10969a8a9052961.zip | |
Revert "Remove the vibration settings"
This reverts commits ef03dfed5c802a855c4655204eee39a8769cfed7 and
ff01678ba688778d67f824a0be56634974c1b0e8.
The "vibration duration" slider is bought back.
The "vibration enabled" option is replaced by "custom vibration", which switch between the system haptic feedback or the custom vibration.
The slider is greyed when "custom vibration" is unchecked and is
allowed to have a value of 0 to disable vibrations within the app.
The intermediate values "light", "medium" and "strong" are removed and
no migration of the setting is made.
Diffstat (limited to 'res/values')
| -rw-r--r-- | res/values/arrays.xml | 14 | ||||
| -rw-r--r-- | res/values/strings.xml | 9 |
2 files changed, 2 insertions, 21 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 42e1738..04d13f9 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -54,18 +54,4 @@ <item>25</item> <item>35</item> </string-array> - <string-array name="pref_vibration_entries"> - <item>@string/pref_vibration_e_disabled</item> - <item>@string/pref_vibration_e_system</item> - <item>@string/pref_vibration_e_strong</item> - <item>@string/pref_vibration_e_medium</item> - <item>@string/pref_vibration_e_light</item> - </string-array> - <string-array name="pref_vibration_values"> - <item>disabled</item> - <item>system</item> - <item>strong</item> - <item>medium</item> - <item>light</item> - </string-array> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 50ed6b3..a85f374 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -42,8 +42,8 @@ <string name="pref_autocapitalisation_summary">Press Shift at the beginning of a sentence</string> <string name="pref_switch_input_immediate_title">Switch to the last used keyboard</string> <string name="pref_switch_input_immediate_summary">Behavior of the keyboard-switching key</string> - <string name="pref_vibrate_title">Vibration</string> - <string name="pref_vibrate_summary">Enable/disable vibration on keypress</string> + <string name="pref_vibrate_custom">Custom vibration</string> + <string name="pref_vibrate_duration_title">Vibration intensity</string> <string name="pref_pin_entry_enabled_title">Pin entry layout</string> <string name="pref_pin_entry_enabled_summary">When typing numbers, dates and phone numbers</string> <string name="pref_category_style">Style</string> @@ -69,11 +69,6 @@ <string name="pref_swipe_dist_e_very_far">Very far</string> <string name="pref_key_horizontal_space">Horizontal spacing between the keys</string> <string name="pref_key_vertical_space">Vertical spacing between the keys</string> - <string name="pref_vibration_e_disabled">Disabled</string> - <string name="pref_vibration_e_system">System</string> - <string name="pref_vibration_e_strong">Strong</string> - <string name="pref_vibration_e_medium">Medium</string> - <string name="pref_vibration_e_light">Light</string> <string name="key_action_next">Next</string> <string name="key_action_done">Done</string> <string name="key_action_go">Go</string> |
