From 2932ab9e330455b3835663a5195dd1150b2fa329 Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Mon, 20 Jan 2020 13:14:57 -0500 Subject: [PATCH] Eliminate some single line functions --- Persephone/AppDelegate.swift | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Persephone/AppDelegate.swift b/Persephone/AppDelegate.swift index 95879b4..745739c 100644 --- a/Persephone/AppDelegate.swift +++ b/Persephone/AppDelegate.swift @@ -32,16 +32,9 @@ class AppDelegate: NSObject, } } - instantiateControllers() - connectToMPDServer() - } - - func connectToMPDServer() { - App.mpdServerController.connect() - } - - func instantiateControllers() { _ = App.userNotificationsController + + App.mpdServerController.connect() } func applicationWillTerminate(_ aNotification: Notification) {