diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-11-14 11:01:31 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-11-14 11:01:31 +0000 |
commit | 67b6906ead02ceb7d7e46f28ae5c27a510956038 (patch) | |
tree | cbbcf9558131b8d276ef177d21513f4bb04004ce /app/src/main/res | |
parent | af870c157bd542b776bf16ff36527b80af5f92d3 (diff) | |
download | infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.tar infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.tar.gz infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.tar.bz2 infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.tar.lz infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.tar.xz infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.tar.zst infinity-for-reddit-67b6906ead02ceb7d7e46f28ae5c27a510956038.zip |
New option: Settings->Interface->Comment->Comment Divider Type.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/arrays.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/xml/comment_preferences.xml | 9 |
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" |