From c916f46f9379371060498da882370ae493461211 Mon Sep 17 00:00:00 2001
From: Robozinho <65715921+RobozinhoD@users.noreply.github.com>
Date: Thu, 29 Feb 2024 19:48:40 -0300
Subject: [PATCH] turn preference into SliderPreference
---
AnkiDroid/src/main/res/values/10-preferences.xml | 1 +
AnkiDroid/src/main/res/xml/preferences_accessibility.xml | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/AnkiDroid/src/main/res/values/10-preferences.xml b/AnkiDroid/src/main/res/values/10-preferences.xml
index 4d273c7c197c..f484cfd37100 100644
--- a/AnkiDroid/src/main/res/values/10-preferences.xml
+++ b/AnkiDroid/src/main/res/values/10-preferences.xml
@@ -25,6 +25,7 @@
- %d min
- %d mins
+ %s ms
No results
diff --git a/AnkiDroid/src/main/res/xml/preferences_accessibility.xml b/AnkiDroid/src/main/res/xml/preferences_accessibility.xml
index 048fece13a72..b334ba1da769 100644
--- a/AnkiDroid/src/main/res/xml/preferences_accessibility.xml
+++ b/AnkiDroid/src/main/res/xml/preferences_accessibility.xml
@@ -55,11 +55,13 @@
android:valueTo="200"
android:stepSize="10"
app:displayFormat="@string/percentage"/>
-
+ android:valueFrom="0"
+ android:valueTo="2000"
+ android:stepSize="100"
+ app:displayFormat="@string/pref_milliseconds"/>
\ No newline at end of file