Explorar el Código

when pressing avatar and ending up in contactdetail there is now a chatbutton

Bastian van de Wetering hace 6 años
padre
commit
c609aee464
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      deltachat-ios/Coordinator/AppCoordinator.swift

+ 1 - 0
deltachat-ios/Coordinator/AppCoordinator.swift

@@ -374,6 +374,7 @@ class ChatViewCoordinator: Coordinator {
 
 	func showContactDetail(of contactId: Int) {
 		let contactDetailController = ContactDetailViewController(contactId: contactId)
+		contactDetailController.showChatCell = true
 		//let nav = UINavigationController(rootViewController: contactDetailController)
 		let coordinator = ContactDetailCoordinator(navigationController: navigationController)
 		childCoordinators.append(coordinator)