Set default notifications sound

This commit is contained in:
Thomas Ricouard 2023-01-08 11:40:51 +01:00
parent 7c19919190
commit a68efaef56

View File

@ -53,6 +53,7 @@ class NotificationService: UNNotificationServiceExtension {
bestAttemptContent.subtitle = ""
bestAttemptContent.body = notification.body.escape()
bestAttemptContent.userInfo["plaintext"] = plaintextData
bestAttemptContent.sound = UNNotificationSound.default
if let urlString = notification.icon,
let url = URL(string: urlString) {