aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authormartinsandfuchs <martin@cluginbuehl.ch>2019-12-07 18:41:28 +0000
committermartinsandfuchs <martin@cluginbuehl.ch>2019-12-08 12:21:37 +0000
commit027cbdb7a3b918046f721c579155eab07b961267 (patch)
treea3783d872f123eb7b5cea1f4eeaf06f00fb8e3ba /app/src/main/res
parentf7eaa7ca06811e39b16dc80203f053e4cca118bc (diff)
downloadinfinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.tar
infinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.tar.gz
infinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.tar.bz2
infinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.tar.lz
infinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.tar.xz
infinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.tar.zst
infinity-for-reddit-027cbdb7a3b918046f721c579155eab07b961267.zip
Use volume keys to navigate posts
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/main_preferences.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 24bd34c7..8f1aa5ca 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -291,6 +291,7 @@
<string name="settings_immersive_interface_title">Immersive Interface</string>
<string name="settings_vote_buttons_on_the_right_title">Vote Buttons on the Right</string>
<string name="settings_volume_keys_navigate_comments_title">Use Volume Keys to Navigate Comments in Posts</string>
+ <string name="settings_volume_keys_navigate_posts_title">Use Volume Keys to Navigate Posts</string>
<string name="settings_show_elapsed_time">Show Elpased Time in Posts and Comments</string>
<string name="swipe_to_go_back_from_post_detail">Swipe Right to Go Back From Comments</string>
<string name="settings_lazy_mode_interval_title">Lazy Mode Interval</string>
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 894642fa..98e566eb 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -46,6 +46,11 @@
app:key="volume_keys_navigate_comments"
app:title="@string/settings_volume_keys_navigate_comments_title" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="volume_keys_navigate_posts"
+ app:title="@string/settings_volume_keys_navigate_posts_title" />
+
<Preference
app:title="@string/settings_font_size_title"
app:icon="@drawable/ic_font_size_24dp"