aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-09 02:51:24 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-09 02:51:24 +0000
commit45f6ba553251a1920ce8688c20679b9504389e30 (patch)
tree0e135319fbec5cd212ffddb3e54ea50cfb5ff9b2 /app/src/main/res/xml
parent6f34d854ea7552fadd9b22e934b45cd86ebc162b (diff)
downloadinfinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.tar
infinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.tar.gz
infinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.tar.bz2
infinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.tar.lz
infinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.tar.xz
infinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.tar.zst
infinity-for-reddit-45f6ba553251a1920ce8688c20679b9504389e30.zip
Add an option to mute nsfw videos. Show preview before autoplaying videos in CommentAndPostRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/video_preferences.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/xml/video_preferences.xml b/app/src/main/res/xml/video_preferences.xml
index e570c478..9c215db2 100644
--- a/app/src/main/res/xml/video_preferences.xml
+++ b/app/src/main/res/xml/video_preferences.xml
@@ -9,6 +9,12 @@
app:title="@string/settings_mute_video_title" />
<SwitchPreference
+ app:defaultValue="false"
+ app:key="mute_nsfw_video"
+ app:icon="@drawable/ic_mute_preferences_24dp"
+ app:title="@string/settings_mute_nsfw_video_title" />
+
+ <SwitchPreference
app:defaultValue="true"
app:key="automatically_try_redgifs"
app:title="@string/settings_automatically_try_redgifs_title" />