aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2019-12-11 05:27:48 +0000
committerGitHub <noreply@github.com>2019-12-11 05:27:48 +0000
commit2f5cdcbbdc0b83e05e9af5850ba01125710d7b30 (patch)
tree023de83387cfd51ea269085c339211b74d84be72 /app/src/main/res
parentf7eaa7ca06811e39b16dc80203f053e4cca118bc (diff)
parent9a8a549d69ba3049a58fc31e88b95d6445dd40d0 (diff)
downloadinfinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.tar
infinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.tar.gz
infinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.tar.bz2
infinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.tar.lz
infinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.tar.xz
infinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.tar.zst
infinity-for-reddit-2f5cdcbbdc0b83e05e9af5850ba01125710d7b30.zip
Merge pull request #41 from MartinSandfuchs/volume-scroll
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"