aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2022-01-29 03:11:36 +0000
committerAlex Ning <chineseperson5@gmail.com>2022-01-29 03:11:36 +0000
commit5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be (patch)
tree296f6281b58387ba9aad89983e68d97cbec7bf66 /app/src/main/res
parent2569742e1c61f92f36d656965eadb608fb185667 (diff)
downloadinfinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.tar
infinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.tar.gz
infinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.tar.bz2
infinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.tar.lz
infinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.tar.xz
infinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.tar.zst
infinity-for-reddit-5a5011f19e7c6fa75fe3ee9d19035af2a3ea12be.zip
New option: Settings->Interface->Comment->Show Fewer Toolbar Options Starting From.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/comment_preferences.xml7
2 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c1a9b8c7..167b02eb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -627,6 +627,8 @@
<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="settings_hide_comment_awards_title">Hide Comment Awards</string>
+ <string name="settings_show_fewer_toolbar_options_threshold_title">Show Fewer Toolbar Options Starting From</string>
+ <string name="settings_show_fewer_toolbar_options_threshold_summary">Level %1$d</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/comment_preferences.xml b/app/src/main/res/xml/comment_preferences.xml
index 9455ec35..b7736545 100644
--- a/app/src/main/res/xml/comment_preferences.xml
+++ b/app/src/main/res/xml/comment_preferences.xml
@@ -37,4 +37,11 @@
app:key="hide_comment_awards"
android:title="@string/settings_hide_comment_awards_title" />
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSeekBarPreference
+ app:defaultValue="5"
+ android:max="10"
+ app:key="show_fewer_toolbar_options_threshold"
+ app:title="@string/settings_show_fewer_toolbar_options_threshold_title"
+ app:singleLineTitle="false" />
+
</PreferenceScreen> \ No newline at end of file