Răsfoiți Sursa

adapt to new welcomeController

B. Petersen 5 ani în urmă
părinte
comite
03b33dc3eb
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      deltachat-ios/Coordinator/AppCoordinator.swift

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

@@ -193,7 +193,7 @@ extension AppCoordinator: WelcomeCoordinator {
         let coordinator = EditSettingsCoordinator(dcContext: dcContext, navigationController: profileInfoNav)
         profileInfoController.coordinator = coordinator
         profileInfoController.onClose = handleProfileInfoClosed
-        welcomeController.present(profileInfoNav, animated: true, completion: nil)
+        welcomeController?.present(profileInfoNav, animated: true, completion: nil)
     }
 
     private func handleProfileInfoClosed() {