aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-02-21 07:38:17 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-02-21 07:38:17 +0000
commit3a69e028673181f014630bb68205166dc39ded0a (patch)
treedf6a252ca00ddc9a9183f5072c6010b419a1a9d0 /app/src/main/res
parent4b3e11c62df47977c9696f4c066d32f14b28e6b3 (diff)
downloadinfinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.tar
infinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.tar.gz
infinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.tar.bz2
infinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.tar.lz
infinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.tar.xz
infinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.tar.zst
infinity-for-reddit-3a69e028673181f014630bb68205166dc39ded0a.zip
New option: Settings->Interface->Post Details->Hide Upvote Ratio.
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_details_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 2fd5280a..5c384e11 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -632,6 +632,7 @@
<string name="settings_show_author_avatar_title">Show Author Avatar</string>
<string name="settings_reddit_user_agreement_title">Reddit User Agreement</string>
<string name="settings_always_show_child_comment_count_title">Always Show the Number of Child Comments</string>
+ <string name="settings_hide_upvote_ratio_title">Hide Upvote Ratio</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml
index ceb07dcb..cf856634 100644
--- a/app/src/main/res/xml/post_details_preferences.xml
+++ b/app/src/main/res/xml/post_details_preferences.xml
@@ -20,6 +20,11 @@
<ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
+ app:key="hide_upvote_ratio"
+ app:title="@string/settings_hide_upvote_ratio_title" />
+
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
+ app:defaultValue="false"
app:key="hide_the_number_of_awards"
app:title="@string/settings_hide_the_number_of_awards" />