Procházet zdrojové kódy

coordinator set properly

nayooti před 5 roky
rodič
revize
728a4c96c7
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      deltachat-ios/Coordinator/AppCoordinator.swift

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

@@ -183,6 +183,7 @@ extension AppCoordinator: WelcomeCoordinator {
         profileInfoNav.modalPresentationStyle = .fullScreen
         profileInfoNav.modalPresentationStyle = .fullScreen
         let coordinator = EditSettingsCoordinator(dcContext: dcContext, navigationController: profileInfoNav)
         let coordinator = EditSettingsCoordinator(dcContext: dcContext, navigationController: profileInfoNav)
         profileInfoController.coordinator = coordinator
         profileInfoController.coordinator = coordinator
+        childCoordinators.append(coordinator)
         profileInfoController.onClose = handleLoginSuccess
         profileInfoController.onClose = handleLoginSuccess
         welcomeController?.present(profileInfoNav, animated: true, completion: nil)
         welcomeController?.present(profileInfoNav, animated: true, completion: nil)
     }
     }