mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat: instant delete
This commit is contained in:
@ -344,6 +344,10 @@
|
||||
"name": "Prevent Message Sending",
|
||||
"description": "Prevents sending certain types of messages"
|
||||
},
|
||||
"instant_delete": {
|
||||
"name": "Instant Delete",
|
||||
"description": "Removes the confirmation dialog when deleting messages"
|
||||
},
|
||||
"better_notifications": {
|
||||
"name": "Better Notifications",
|
||||
"description": "Adds more information in received notifications"
|
||||
|
@ -23,6 +23,7 @@ class MessagingTweaks : ConfigContainer() {
|
||||
customOptionTranslationPath = "features.options.notifications"
|
||||
nativeHooks()
|
||||
}
|
||||
val instantDelete = boolean("instant_delete") { 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"
|
||||
|
Reference in New Issue
Block a user