aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-07-17 21:25:02 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-07-17 21:25:02 +0000
commitc7479f3fdbfb175f5757218c6b1395c36bb573aa (patch)
treec3a70dd566c3f856337617c0c68e5f0b389daaaa /app/src/main/res/xml
parent7302edac089182e0c8d1564d2208c71662290e66 (diff)
downloadinfinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.tar
infinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.tar.gz
infinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.tar.bz2
infinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.tar.lz
infinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.tar.xz
infinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.tar.zst
infinity-for-reddit-c7479f3fdbfb175f5757218c6b1395c36bb573aa.zip
Add options to control which kind of media to show in the markdown content.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/comment_preferences.xml8
-rw-r--r--app/src/main/res/xml/post_details_preferences.xml8
2 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/res/xml/comment_preferences.xml b/app/src/main/res/xml/comment_preferences.xml
index bfd4237a..79b49351 100644
--- a/app/src/main/res/xml/comment_preferences.xml
+++ b/app/src/main/res/xml/comment_preferences.xml
@@ -63,4 +63,12 @@
app:title="@string/settings_show_fewer_toolbar_options_threshold_title"
app:singleLineTitle="false" />
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
+ app:defaultValue="15"
+ app:entries="@array/settings_embedded_media_type"
+ app:entryValues="@array/settings_embedded_media_type_values"
+ app:key="embedded_media_type"
+ app:title="@string/settings_embedded_media_type_title"
+ app:useSimpleSummaryProvider="true" />
+
</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml
index 0cbf770f..3ff62eee 100644
--- a/app/src/main/res/xml/post_details_preferences.xml
+++ b/app/src/main/res/xml/post_details_preferences.xml
@@ -37,4 +37,12 @@
app:key="hide_the_number_of_comments"
app:title="@string/settings_hide_the_number_of_comments" />
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
+ app:defaultValue="15"
+ app:entries="@array/settings_embedded_media_type"
+ app:entryValues="@array/settings_embedded_media_type_values"
+ app:key="embedded_media_type"
+ app:title="@string/settings_embedded_media_type_title"
+ app:useSimpleSummaryProvider="true" />
+
</PreferenceScreen> \ No newline at end of file