diff --git a/Organize/AppDelegate.swift b/Organize/AppDelegate.swift index f622dcd..b8a0d40 100644 --- a/Organize/AppDelegate.swift +++ b/Organize/AppDelegate.swift @@ -24,7 +24,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { window = UIWindow(frame: UIScreen.mainScreen().bounds) if let window = window { window.backgroundColor = UIColor.whiteColor() - window.rootViewController = IntroNavigationController() + // TODO: change back +// window.rootViewController = IntroNavigationController() + window.rootViewController = MenuNavigationController() window.makeKeyAndVisible() } } diff --git a/Organize/Config.swift b/Organize/Config.swift index 0b16816..3366dfe 100644 --- a/Organize/Config.swift +++ b/Organize/Config.swift @@ -2,7 +2,7 @@ import UIKit struct Config { static let appName: String = "Organize" - static let appLoadingDelay: Double = 0.4 + static let appLoadingDelay: Double = 0.8 static let buttonHeight: CGFloat = 44 static let buttonPadding: CGFloat = 10 diff --git a/Organize/IntroNavigationController.swift b/Organize/IntroNavigationController.swift index ab60c96..b93885a 100644 --- a/Organize/IntroNavigationController.swift +++ b/Organize/IntroNavigationController.swift @@ -13,7 +13,10 @@ class IntroNavigationController: UINavigationController { } private func determineController() { - displayController(navController: MenuNavigationController()) +// Util.delay(Config.appLoadingDelay) { +// self.displayController(navController: MenuNavigationController()) +// } + // User.get(completion: { user in // if user == nil {