Skip to content

Commit 3a3ee21

Browse files
BrayanDSOlukstbit
authored andcommitted
feat: move "double tap timeout" to "Accessibility"
It's an accessibility setting after all
1 parent 65d0568 commit 3a3ee21

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

AnkiDroid/src/main/res/xml/preferences_accessibility.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,14 @@
7373
android:valueFrom="0"
7474
android:valueTo="2000"
7575
app:displayFormat="@string/pref_milliseconds"/>
76+
<com.ichi2.preferences.SliderPreference
77+
android:key="@string/double_tap_timeout_pref_key"
78+
android:title="@string/pref_double_tap_time_interval"
79+
android:summary="@string/pref_double_tap_time_interval_summary"
80+
android:valueFrom="0"
81+
android:valueTo="1000"
82+
android:defaultValue="200"
83+
android:stepSize="10"
84+
app:displayFormat="@string/pref_milliseconds"
85+
/>
7686
</PreferenceScreen>

AnkiDroid/src/main/res/xml/preferences_reviewing.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,5 @@
5555
android:key="@string/keep_screen_on_preference"
5656
android:summary="@string/pref_keep_screen_on_summ"
5757
android:title="@string/pref_keep_screen_on" />
58-
<com.ichi2.preferences.SliderPreference
59-
android:key="@string/double_tap_timeout_pref_key"
60-
android:title="@string/pref_double_tap_time_interval"
61-
android:summary="@string/pref_double_tap_time_interval_summary"
62-
android:valueFrom="0"
63-
android:valueTo="1000"
64-
android:defaultValue="200"
65-
android:stepSize="10"
66-
app1:displayFormat="@string/pref_milliseconds"
67-
/>
6858
</PreferenceCategory>
6959
</PreferenceScreen>

0 commit comments

Comments
 (0)