aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-14 11:43:26 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-14 11:43:26 +0000
commit19c2d0b9794b1b045a2015769567e6ddf6a5fbfe (patch)
treec59ea04afbafe443d64a4200400d351043ba5227 /app/src/main/res
parent8320a7509c2bed9897be6caa0cad1efb23152b38 (diff)
downloadinfinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.tar
infinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.tar.gz
infinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.tar.bz2
infinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.tar.lz
infinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.tar.xz
infinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.tar.zst
infinity-for-reddit-19c2d0b9794b1b045a2015769567e6ddf6a5fbfe.zip
Disable swipe right to go back in some Activities. Rename 'Swipe Right to Go Back From Comments' to 'Swipe Right to Go Back'.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml3
-rw-r--r--app/src/main/res/xml/gestures_and_buttons_preference.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c0cee539..eb0e5557 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -377,7 +377,8 @@
<string name="settings_show_divider_in_compact_layout">Show Divider in Compact Layout</string>
<string name="settings_show_thumbnail_on_the_left_in_compact_layout">Show Thumbnail on the Left in Compact Layout</string>
<string name="settings_swap_tap_and_long_title">Swap Tap and Long Press in Comments</string>
- <string name="settings_swipe_to_go_back_from_post_detail_title">Swipe Right to Go Back From Comments</string>
+ <string name="settings_swipe_to_go_back_title">Swipe Right to Go Back</string>
+ <string name="settings_swipe_to_go_back_summary">Does not apply to all pages</string>
<string name="settings_lock_jump_to_next_top_level_comment_button_title">Lock Jump to Next Top-level Comment Button</string>
<string name="settings_lock_bottom_app_bar_title">Lock Bottom Navigation Bar</string>
<string name="settings_swipe_up_to_hide_jump_to_next_top_level_comment_button_title">Swipe Up to Hide Jump to Next Top-level Comment Button</string>
diff --git a/app/src/main/res/xml/gestures_and_buttons_preference.xml b/app/src/main/res/xml/gestures_and_buttons_preference.xml
index 8cd307e0..7a279247 100644
--- a/app/src/main/res/xml/gestures_and_buttons_preference.xml
+++ b/app/src/main/res/xml/gestures_and_buttons_preference.xml
@@ -4,7 +4,8 @@
<SwitchPreference
app:defaultValue="true"
app:key="swipe_to_go_back_from_post_detail"
- app:title="@string/settings_swipe_to_go_back_from_post_detail_title" />
+ app:title="@string/settings_swipe_to_go_back_title"
+ app:summary="@string/settings_swipe_to_go_back_summary" />
<SwitchPreference
app:defaultValue="false"