Add an option to disable pull to refresh.

This commit is contained in:
Alex Ning
2020-09-15 23:58:17 +08:00
parent 9444599f4b
commit ef514a85c7
7 changed files with 39 additions and 2 deletions

View File

@@ -482,6 +482,7 @@
<string name="settings_vibrate_when_action_triggered_title">Vibrate the phone when the action is triggered</string>
<string name="settings_disable_swiping_between_tabs_title">Disable Swiping Between Tabs</string>
<string name="settings_enable_swipe_action_title">Enable Swipe Action</string>
<string name="settings_pull_to_refresh_title">Pull to Refresh</string>
<string name="no_link_available">Cannot get the link</string>

View File

@@ -39,6 +39,11 @@
app:key="swap_tap_and_long_in_comments"
app:title="@string/settings_swap_tap_and_long_title" />
<SwitchPreference
app:defaultValue="true"
app:key="pull_to_refresh"
app:title="@string/settings_pull_to_refresh_title" />
<Preference
app:title="@string/settings_swipe_action_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.SwipeActionPreferenceFragment" />