[+] Add repeats field to alarm
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user