commit 59a3b7f26ad88c6d8c5ddade7612eae0966159de
parent 645b7befa91c0af4f69e7e69067942db21b55ec9
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date: Thu, 23 May 2024 00:48:08 +0200
fix(better_notifications): media preview content type
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/src/main/assets/lang/en_US.json b/common/src/main/assets/lang/en_US.json
@@ -1291,6 +1291,7 @@
"EXTERNAL_MEDIA": "External Media",
"NOTE": "Audio Note",
"STICKER": "Sticker",
+ "SHARE": "Share",
"STATUS": "Status",
"LOCATION": "Location",
"STATUS_SAVE_TO_CAMERA_ROLL": "Saved to Camera Roll",
diff --git a/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/MessagingTweaks.kt b/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/MessagingTweaks.kt
@@ -51,7 +51,7 @@ class MessagingTweaks : ConfigContainer() {
class BetterNotifications: ConfigContainer() {
val groupNotifications = boolean("group_notifications")
val chatPreview = boolean("chat_preview")
- val mediaPreview = multiple("media_preview", "SNAP", "NOTE", "EXTERNAL_MEDIA", "STICKER") {
+ val mediaPreview = multiple("media_preview", "SNAP", "EXTERNAL_MEDIA", "STICKER", "SHARE", "TINY_SNAP", "MAP_REACTION") {
customOptionTranslationPath = "content_type"
}
val mediaCaption = boolean("media_caption")