mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 09:41:02 +00:00
Set default notifications sound
This commit is contained in:
parent
7c19919190
commit
a68efaef56
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue