Merge branch 'main' of github.com:hykilpikonna/ProjectClock into main

This commit is contained in:
Hykilpikonna
2021-01-24 19:31:50 -05:00
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.