Alarms with the same time, but different repeats/title can be added.

This commit is contained in:
Aaron
2021-01-27 11:50:31 -05:00
parent f82ac09fd3
commit 23635612a1
2 changed files with 16 additions and 13 deletions
+1 -2
View File
@@ -64,8 +64,7 @@ class Alarm: Codable, Equatable
{
static func == (lhs: Alarm, rhs: Alarm) -> Bool {
return lhs.hour == rhs.hour && lhs.minute == rhs.minute && lhs.text == rhs.text &&
lhs.alarmTone == rhs.alarmTone && lhs.notificationID == rhs.notificationID &&
lhs.repeats == rhs.repeats
lhs.alarmTone == rhs.alarmTone && lhs.repeats == rhs.repeats
}
var enabled: Bool