|
@@ -168,7 +168,6 @@ extension AppCoordinator: WelcomeCoordinator {
|
|
loginController.modalPresentationStyle = .fullScreen
|
|
loginController.modalPresentationStyle = .fullScreen
|
|
welcomeController.present(loginController, animated: true, completion: nil)
|
|
welcomeController.present(loginController, animated: true, completion: nil)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
|
|
func handleLoginSuccess() {
|
|
func handleLoginSuccess() {
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
|
|
@@ -439,7 +438,6 @@ class NewChatCoordinator: Coordinator {
|
|
navigationController.viewControllers.remove(at: 1)
|
|
navigationController.viewControllers.remove(at: 1)
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
func showContactDetail(contactId: Int) {
|
|
func showContactDetail(contactId: Int) {
|
|
let viewModel = ContactDetailViewModel(contactId: contactId, chatId: nil, context: dcContext)
|
|
let viewModel = ContactDetailViewModel(contactId: contactId, chatId: nil, context: dcContext)
|
|
let contactDetailController = ContactDetailViewController(viewModel: viewModel)
|
|
let contactDetailController = ContactDetailViewController(viewModel: viewModel)
|