aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-24 09:48:47 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-24 09:48:47 +0000
commitf4bfa4fc401d484379c529c4266e3b78d88306be (patch)
tree1a51b62f87b6e43ecfe287b85b03f77f98ad9ed4 /app/src/main/res
parent8768e71a910284a74824a26db3041c339a3af325 (diff)
downloadinfinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.tar
infinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.tar.gz
infinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.tar.bz2
infinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.tar.lz
infinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.tar.xz
infinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.tar.zst
infinity-for-reddit-f4bfa4fc401d484379c529c4266e3b78d88306be.zip
New option: Hide the number of comments.
Diffstat (limited to 'app/src/main/res')
-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 92097b7c..1825ef3e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -539,6 +539,7 @@
<string name="settings_hide_the_number_of_awards">Hide the Number of Awards</string>
<string name="settings_hide_subreddit_and_user_prefix">Hide Subreddit and User Prefix</string>
<string name="settings_hide_the_number_of_votes">Hide the Number of Votes</string>
+ <string name="settings_hide_the_number_of_comments">Hide the Number of Comments</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 c695d63c..7e47f86c 100644
--- a/app/src/main/res/xml/post_preferences.xml
+++ b/app/src/main/res/xml/post_preferences.xml
@@ -34,6 +34,11 @@
app:key="hide_the_number_of_votes"
app:title="@string/settings_hide_the_number_of_votes" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="hide_the_number_of_comments"
+ app:title="@string/settings_hide_the_number_of_comments" />
+
<PreferenceCategory
app:title="@string/post_layout_compact" />