浏览代码

adapt to new welcomeController

B. Petersen 5 年之前
父节点
当前提交
03b33dc3eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
         let coordinator = EditSettingsCoordinator(dcContext: dcContext, navigationController: profileInfoNav)
         profileInfoController.coordinator = coordinator
         profileInfoController.coordinator = coordinator
         profileInfoController.onClose = handleProfileInfoClosed
         profileInfoController.onClose = handleProfileInfoClosed
-        welcomeController.present(profileInfoNav, animated: true, completion: nil)
+        welcomeController?.present(profileInfoNav, animated: true, completion: nil)
     }
     }
 
 
     private func handleProfileInfoClosed() {
     private func handleProfileInfoClosed() {