[+] Allow AlarmActivator to segue to the alarm activating view
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user