aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2022-01-20 07:00:26 +0000
committerAlex Ning <chineseperson5@gmail.com>2022-01-20 07:00:26 +0000
commit25fff4064c6cfa395e3618a8ce89a7bfc287b146 (patch)
treea132a187932a733065b5decbf03f53415d949711 /app/src/main/res
parent5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47 (diff)
downloadinfinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.tar
infinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.tar.gz
infinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.tar.bz2
infinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.tar.lz
infinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.tar.xz
infinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.tar.zst
infinity-for-reddit-25fff4064c6cfa395e3618a8ce89a7bfc287b146.zip
New option: Hide Text Post Content.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/post_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 733343bf..8751ce69 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -625,6 +625,7 @@
<string name="settings_custom_title_font_family_title">Custom Title Font Family</string>
<string name="settings_custom_content_font_family_title">Custom Content Font Family</string>
<string name="settings_fixed_height_preview_in_card_title">Fixed Height in Card</string>
+ <string name="settings_hide_text_post_content">Hide Text Post Content</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/post_preferences.xml b/app/src/main/res/xml/post_preferences.xml
index 3bc09d0f..d07b5edd 100644
--- a/app/src/main/res/xml/post_preferences.xml
+++ b/app/src/main/res/xml/post_preferences.xml
@@ -54,6 +54,11 @@
<ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
+ app:key="hide_text_post_content"
+ app:title="@string/settings_hide_text_post_content" />
+
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
+ app:defaultValue="false"
app:key="fixed_height_preview_in_card"
app:title="@string/settings_fixed_height_preview_in_card_title" />