Change notification sound back to caf

This commit is contained in:
Thomas Ricouard 2023-01-26 20:09:33 +01:00
parent a6f09e76cf
commit 1ff0d52b49
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class NotificationService: UNNotificationServiceExtension {
bestAttemptContent.subtitle = bestAttemptContent.userInfo["i"] as? String ?? ""
bestAttemptContent.body = notification.body.escape()
bestAttemptContent.userInfo["plaintext"] = plaintextData
bestAttemptContent.sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: "glass.wav"))
bestAttemptContent.sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: "glass.caf"))
let preferences = UserPreferences.shared
preferences.pushNotificationsCount += 1