aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-10-09 13:43:55 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-10-09 13:43:55 +0000
commitf12dea156fbe08b3b8ad64d153c8aedc75bf024e (patch)
treebad0f5f6153f1909a214094394089b285c2d1ee1 /app/src/main/res
parentabd57e23a60b5c9e3afbd706f3ebfef9ff523414 (diff)
downloadinfinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.tar
infinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.tar.gz
infinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.tar.bz2
infinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.tar.lz
infinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.tar.xz
infinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.tar.zst
infinity-for-reddit-f12dea156fbe08b3b8ad64d153c8aedc75bf024e.zip
New option: loop video.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/video_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 11e062eb..93686697 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -594,6 +594,7 @@
<string name="settings_disable_nsfw_forever_title">Disable NSFW Forever</string>
<string name="settings_show_only_one_comment_level_indicator">Show Only One Comment Level Indicator</string>
<string name="settings_video_player_automatic_landscape_orientation">Switch to Landscape Orientation in Video Player Automatically</string>
+ <string name="settings_loop_video_title">Loop Video</string>
<string name="settings_remember_muting_option_in_post_feed">Remember Muting Option in Post Feed</string>
<string name="settings_post_details_title">Post Details</string>
<string name="settings_separate_post_and_comments_in_portrait_mode_title">Separate Post And Comments in Portrait Mode</string>
diff --git a/app/src/main/res/xml/video_preferences.xml b/app/src/main/res/xml/video_preferences.xml
index decf2674..7b2ebbdb 100644
--- a/app/src/main/res/xml/video_preferences.xml
+++ b/app/src/main/res/xml/video_preferences.xml
@@ -30,6 +30,11 @@
app:key="video_player_automatic_landscape_orientation"
app:title="@string/settings_video_player_automatic_landscape_orientation" />
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="loop_video"
+ app:title="@string/settings_loop_video_title" />
+
<PreferenceCategory
app:title="@string/settings_video_autoplay_title" />