[+] Allow AlarmActivator to segue to the alarm activating view

This commit is contained in:
Hykilpikonna
2021-01-17 15:13:11 -05:00
parent f88c48b9ad
commit d90c792436
3 changed files with 33 additions and 12 deletions
-6
View File
@@ -10,8 +10,6 @@ import UIKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate
{
var alarmActivator: AlarmActivator!
/// Override point for customization after application launch.
func application(_ app: UIApplication, didFinishLaunchingWithOptions op: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
{
@@ -20,10 +18,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate
"alarms": JSON.stringify([Alarm(enabled: true, hour: 7, minute: 20, text: "Wake up lol", wakeMethod: wvms[0])])!
])
// Start alarm activator
alarmActivator = AlarmActivator()
alarmActivator.start()
return true
}