mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-22 21:08:15 +01:00
Set default notifications sound
This commit is contained in:
parent
7c19919190
commit
a68efaef56
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user