mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Add an option to disable vibration when swipe action is triggered.
This commit is contained in:
@@ -39,4 +39,8 @@
|
||||
app:key="swap_tap_and_long_in_comments"
|
||||
app:title="@string/settings_swap_tap_and_long_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_swipe_action_title"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.SwipeActionPreferenceFragment" />
|
||||
|
||||
</PreferenceScreen>
|
9
app/src/main/res/xml/swipe_action_preferences.xml
Normal file
9
app/src/main/res/xml/swipe_action_preferences.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="true"
|
||||
app:key="vibrate_when_action_triggered"
|
||||
app:title="@string/settings_vibrate_when_action_triggered_title" />
|
||||
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user