From 73267d68fb3ba04a5233a605a10969a8a9052961 Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Tue, 9 Jan 2024 00:43:28 +0100
Subject: 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.
---
res/values/arrays.xml | 14 --------------
res/values/strings.xml | 9 ++-------
2 files changed, 2 insertions(+), 21 deletions(-)
(limited to 'res/values')
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 @@
- 25
- 35
-
- - @string/pref_vibration_e_disabled
- - @string/pref_vibration_e_system
- - @string/pref_vibration_e_strong
- - @string/pref_vibration_e_medium
- - @string/pref_vibration_e_light
-
-
- - disabled
- - system
- - strong
- - medium
- - light
-
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 @@
Press Shift at the beginning of a sentence
Switch to the last used keyboard
Behavior of the keyboard-switching key
- Vibration
- Enable/disable vibration on keypress
+ Custom vibration
+ Vibration intensity
Pin entry layout
When typing numbers, dates and phone numbers
Style
@@ -69,11 +69,6 @@
Very far
Horizontal spacing between the keys
Vertical spacing between the keys
- Disabled
- System
- Strong
- Medium
- Light
Next
Done
Go
--
cgit v1.2.3