aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-11 15:44:43 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-11 15:44:43 +0000
commitc1862f334ef76b009b4423cbb92cf47d11f7431d (patch)
treedb3dde401d5a812af6fe94770594f848c360d45f /app/src/main/res
parentdc248735c707fe85ceb01899ff7bc73e3196ff08 (diff)
downloadinfinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.tar
infinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.tar.gz
infinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.tar.bz2
infinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.tar.lz
infinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.tar.xz
infinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.tar.zst
infinity-for-reddit-c1862f334ef76b009b4423cbb92cf47d11f7431d.zip
Disable video autoplay when separating post and comments in post detail page is enabled.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/strings.xml5
-rw-r--r--app/src/main/res/xml-sw600dp/post_details_preferences.xml6
-rw-r--r--app/src/main/res/xml/post_details_preferences.xml3
3 files changed, 9 insertions, 5 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f0fba961..76afcacb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -590,8 +590,9 @@
<string name="settings_video_player_automatic_landscape_orientation">Switch to Landscape Orientation in Video Player Automatically</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">Separate Post And Comments in Portrait Mode</string>
- <string name="settings_separate_post_and_comments_in_landscape_mode">Separate Post And Comments in Landscape Mode</string>
+ <string name="settings_separate_post_and_comments_in_portrait_mode_title">Separate Post And Comments in Portrait Mode</string>
+ <string name="settings_separate_post_and_comments_in_landscape_mode_title">Separate Post And Comments in Landscape Mode</string>
+ <string name="settings_separate_post_and_comments_summary">Video autoplay will be disabled in the post detail page</string>
<string name="settings_use_bottom_toolbar_in_media_viewer_title">Use Bottom Toolbar in Media Viewer</string>
<string name="settings_secure_mode_title">Secure Mode</string>
<string name="settings_secure_mode_summary">Screenshot and video recording are not allowed. No preview in recent app screen.</string>
diff --git a/app/src/main/res/xml-sw600dp/post_details_preferences.xml b/app/src/main/res/xml-sw600dp/post_details_preferences.xml
index 1bb6f4c9..0a8cf2c9 100644
--- a/app/src/main/res/xml-sw600dp/post_details_preferences.xml
+++ b/app/src/main/res/xml-sw600dp/post_details_preferences.xml
@@ -5,12 +5,14 @@
<SwitchPreference
app:defaultValue="true"
app:key="separate_post_and_comments_in_portrait_mode"
- app:title="@string/settings_separate_post_and_comments_in_portrait_mode" />
+ app:title="@string/settings_separate_post_and_comments_in_portrait_mode_title"
+ app:summary="@string/settings_separate_post_and_comments_summary" />
<SwitchPreference
app:defaultValue="true"
app:key="separate_post_and_comments_in_landscape_mode"
- app:title="@string/settings_separate_post_and_comments_in_landscape_mode" />
+ app:title="@string/settings_separate_post_and_comments_in_landscape_mode_title"
+ app:summary="@string/settings_separate_post_and_comments_summary" />
<SwitchPreference
app:defaultValue="false"
diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml
index a082c1ee..e549cb42 100644
--- a/app/src/main/res/xml/post_details_preferences.xml
+++ b/app/src/main/res/xml/post_details_preferences.xml
@@ -5,7 +5,8 @@
<SwitchPreference
app:defaultValue="true"
app:key="separate_post_and_comments_in_landscape_mode"
- app:title="@string/settings_separate_post_and_comments_in_landscape_mode" />
+ app:title="@string/settings_separate_post_and_comments_in_landscape_mode_title"
+ app:summary="@string/settings_separate_post_and_comments_summary" />
<SwitchPreference
app:defaultValue="false"