Added notifications for recurrent alarms.
This commit is contained in:
@@ -64,6 +64,9 @@ class AlarmActivator: UITabBarController
|
||||
alarm.apply {
|
||||
$0.lastActivate = Date()
|
||||
if $0.oneTime { $0.enabled = false }
|
||||
else {
|
||||
Notification.scheduleNotification(alarm: alarm)
|
||||
}
|
||||
}
|
||||
|
||||
alarms.localSave()
|
||||
|
||||
Reference in New Issue
Block a user