aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/arrays.xml10
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/comment_preferences.xml9
3 files changed, 20 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 51015180..62ec7430 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -669,4 +669,14 @@
<item>144</item>
</string-array>
+ <string-array name="settings_comment_divider_type">
+ <item>Normal</item>
+ <item>Only on top-level comments</item>
+ </string-array>
+
+ <string-array name="settings_comment_divider_type_values">
+ <item>0</item>
+ <item>1</item>
+ </string-array>
+
</resources>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index bdcba30e..41c1bcb2 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -647,6 +647,7 @@
<string name="settings_reddit_video_default_resolution">Reddit Video Default Resolution</string>
<string name="settings_easier_to_watch_in_full_screen_title">Easier to Watch in Full Screen</string>
<string name="settings_hide_fab_in_post_feed">Hide FAB in Post Feed</string>
+ <string name="settings_comment_divider_type">Comment Divider Type</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 c38eb2f1..caf95e8f 100644
--- a/app/src/main/res/xml/comment_preferences.xml
+++ b/app/src/main/res/xml/comment_preferences.xml
@@ -12,6 +12,15 @@
app:key="show_comment_divider"
app:title="@string/settings_show_comment_divider_title" />
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
+ app:defaultValue="0"
+ app:key="comment_divider_type"
+ android:title="@string/settings_comment_divider_type"
+ app:entries="@array/settings_comment_divider_type"
+ app:entryValues="@array/settings_comment_divider_type_values"
+ app:useSimpleSummaryProvider="true"
+ app:isPreferenceVisible="false" />
+
<ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="show_only_one_comment_level_indicator"