Skip to content

Commit

Permalink
Dont pop up the settings view
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Jan 6, 2017
1 parent 8f6e5b2 commit d8edf48
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions HomeAssistant/AppDelegate.swift
Expand Up @@ -71,12 +71,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
return
}.catch {err -> Void in
print("ERROR", err)
let settingsView = SettingsViewController()
settingsView.title = "Settings"
settingsView.showErrorConnectingMessage = true
let navController = UINavigationController(rootViewController: settingsView)
self.window?.makeKeyAndVisible()
self.window?.rootViewController!.present(navController, animated: true, completion: nil)
// let settingsView = SettingsViewController()
// settingsView.title = "Settings"
// settingsView.showErrorConnectingMessage = true
// let navController = UINavigationController(rootViewController: settingsView)
// self.window?.makeKeyAndVisible()
// self.window?.rootViewController!.present(navController, animated: true, completion: nil)
}
}
}
Expand Down

0 comments on commit d8edf48

Please sign in to comment.