Added longer, more abnoxious notification sound.

This commit is contained in:
Aaron
2021-01-24 19:27:18 -05:00
parent 1dc05b84cf
commit b7fce3bf31
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ class Notification {
content.title = alarm.text
content.subtitle = formatter1.string(from: today)
content.body = "Wake method: \(alarm.wakeMethod.name)"
content.sound = UNNotificationSound.defaultCriticalSound(withAudioVolume: 1.0)
content.sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: "notif.caf"))
// Notification image content
let imageName = "clock"
Binary file not shown.