Преглед на файлове

coordinator set properly

nayooti преди 5 години
родител
ревизия
728a4c96c7
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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)
     }
     }