aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-01-07 07:36:23 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-01-07 07:36:23 +0000
commit2f912a523ee910ef75958365d89d2405cb6e5fc7 (patch)
tree4581459bdfd50ae4c77f7ae2bd07badfa7a2e05f /app/src/main/res
parent5af408540909198255e497ea9c8c74072523c35f (diff)
downloadinfinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.tar
infinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.tar.gz
infinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.tar.bz2
infinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.tar.lz
infinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.tar.xz
infinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.tar.zst
infinity-for-reddit-2f912a523ee910ef75958365d89d2405cb6e5fc7.zip
New option in data saving mode: Only disable preview in video and gif posts.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/strings.xml3
-rw-r--r--app/src/main/res/xml/data_saving_mode_preferences.xml5
2 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index aebcb892..ae44cf19 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,7 +1,7 @@
<resources>
<string name="application_name" translatable="false">Infinity</string>
<string name="login_activity_label">Login</string>
- <string name="search_activity_label">Search</string>
+ <string name="search_activity_label" translatable="false"> </string>
<string name="comment_activity_label">Send Comment</string>
<string name="comment_activity_label_is_replying">Reply</string>
<string name="post_text_activity_label">Text Post</string>
@@ -517,6 +517,7 @@
<string name="settings_credits_ufo_capturing_animation_title">UFO Capturing Animation</string>
<string name="settings_hide_subreddit_description_title">Hide Subreddit Description</string>
<string name="settings_disable_image_preview_title">Disable Image Preview in Data Saving Mode</string>
+ <string name="settings_only_disable_preview_in_video_and_gif_posts_title">Only Disable Preview in Video and Gif Posts</string>
<string name="settings_swipe_action_swipe_left_title">Swipe Left</string>
<string name="settings_swipe_action_swipe_right_title">Swipe Right</string>
<string name="settings_swipe_action_info_summary">Not applicable to post feed with more than 1 column or post detail.</string>
diff --git a/app/src/main/res/xml/data_saving_mode_preferences.xml b/app/src/main/res/xml/data_saving_mode_preferences.xml
index e635f2db..6ff3f04a 100644
--- a/app/src/main/res/xml/data_saving_mode_preferences.xml
+++ b/app/src/main/res/xml/data_saving_mode_preferences.xml
@@ -20,4 +20,9 @@
app:key="disable_image_preview"
android:title="@string/settings_disable_image_preview_title" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="only_disable_preview_in_video_and_gif_posts"
+ android:title="@string/settings_only_disable_preview_in_video_and_gif_posts_title" />
+
</PreferenceScreen> \ No newline at end of file