feat(core/better_notifications): mark as read

This commit is contained in:
rhunk
2023-10-29 12:06:12 +01:00
parent 7938871086
commit a879419fc5
3 changed files with 65 additions and 9 deletions

View File

@ -597,6 +597,7 @@
"snap": "Show media",
"reply_button": "Add reply button",
"download_button": "Add download button",
"mark_as_read_button": "Mark as Read button",
"group": "Group notifications"
},
"friend_feed_menu_buttons": {
@ -782,6 +783,15 @@
"download": "Download"
},
"better_notifications": {
"button": {
"reply": "Reply",
"download": "Download",
"mark_as_read": "Mark as Read"
},
"stealth_mode_notice": "Can't mark as read in stealth mode"
},
"profile_picture_downloader": {
"button": "Download Profile Picture",
"title": "Profile Picture Downloader",

View File

@ -23,7 +23,7 @@ class MessagingTweaks : ConfigContainer() {
customOptionTranslationPath = "features.options.notifications"
nativeHooks()
}
val betterNotifications = multiple("better_notifications", "snap", "chat", "reply_button", "download_button", "group") { requireRestart() }
val betterNotifications = multiple("better_notifications", "snap", "chat", "reply_button", "download_button", "mark_as_read_button", "group") { requireRestart() }
val notificationBlacklist = multiple("notification_blacklist", *NotificationType.getIncomingValues().map { it.key }.toTypedArray()) {
customOptionTranslationPath = "features.options.notifications"
}