|
@@ -29,13 +29,17 @@ class AppCoordinator: Coordinator {
|
|
// let password = "foobar"
|
|
// let password = "foobar"
|
|
// initCore(email: email, password: password)
|
|
// initCore(email: email, password: password)
|
|
|
|
|
|
- let credentialsController = CredentialsController()
|
|
|
|
- let credentialsNav = UINavigationController(rootViewController: credentialsController)
|
|
|
|
-
|
|
|
|
- baseController.present(credentialsNav, animated: false, completion: nil)
|
|
|
|
|
|
+ displayCredentialsController()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ func displayCredentialsController() {
|
|
|
|
+ let credentialsController = CredentialsController()
|
|
|
|
+ let credentialsNav = UINavigationController(rootViewController: credentialsController)
|
|
|
|
+
|
|
|
|
+ baseController.present(credentialsNav, animated: false, completion: nil)
|
|
|
|
+ }
|
|
|
|
+
|
|
func setupInnerViewControllers() {
|
|
func setupInnerViewControllers() {
|
|
|
|
|
|
let chatViewController = ChatListController()
|
|
let chatViewController = ChatListController()
|