[+] Add repeats field to alarm

This commit is contained in:
Hykilpikonna
2021-01-17 14:24:43 -05:00
parent ce9cf95e47
commit 251b281a04
+3
View File
@@ -44,6 +44,9 @@ struct Alarm: Codable
var text: String
var wakeMethod: WVM
/// What days does it repeat (Sun, Mon, Tue, Wed, Thu, Fri, Sat)
var repeats: [Bool] = [false, true, true, true, true, true, false]
/// When is the last time that the alarm went off
var lastEnabled: Date? = nil
}