mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
We're instantiating two controllers now
This commit is contained in:
parent
8301ed0780
commit
2f857c7da8
@ -24,7 +24,7 @@ class AppDelegate: NSObject,
|
|||||||
|
|
||||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||||
connectToMPDServer()
|
connectToMPDServer()
|
||||||
instantiateUserNotificationsController()
|
instantiateControllers()
|
||||||
|
|
||||||
mediaKeyTap = MediaKeyTap(delegate: self)
|
mediaKeyTap = MediaKeyTap(delegate: self)
|
||||||
mediaKeyTap?.start()
|
mediaKeyTap?.start()
|
||||||
@ -45,7 +45,7 @@ class AppDelegate: NSObject,
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func instantiateUserNotificationsController() {
|
func instantiateControllers() {
|
||||||
_ = App.mpdServerController
|
_ = App.mpdServerController
|
||||||
_ = App.userNotificationsController
|
_ = App.userNotificationsController
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user