[O] Make Alarm a class

This commit is contained in:
Hykilpikonna
2021-01-17 15:59:25 -05:00
parent ce9cbd7127
commit c54e18ad64
3 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate
{
// Init default settings
localStorage.register(defaults: [
"alarms": JSON.stringify([Alarm(enabled: true, hour: 7, minute: 20, text: "Wake up lol", wakeMethod: wvms[0])])!
"alarms": JSON.stringify([Alarm(hour: 7, minute: 20, text: "Wake up lol", wakeMethod: wvms[0])])!
])
return true