فهرست منبع

after logout user is redirected to welcome screen

nayooti 5 سال پیش
والد
کامیت
c7158c3fb1
2فایلهای تغییر یافته به همراه1 افزوده شده و 6 حذف شده
  1. 1 1
      deltachat-ios/Controller/AccountSetupController.swift
  2. 0 5
      deltachat-ios/Coordinator/AppCoordinator.swift

+ 1 - 1
deltachat-ios/Controller/AccountSetupController.swift

@@ -825,7 +825,7 @@ class AccountSetupController: UITableViewController {
             appDelegate.open()
             appDelegate.start()
 
-            appDelegate.appCoordinator.presentLoginController()
+            appDelegate.appCoordinator.presentWelcomeController()
         }))
         alert.addAction(UIAlertAction(title: String.localized("cancel"), style: .cancel))
         present(alert, animated: true, completion: nil)

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

@@ -135,11 +135,6 @@ class AppCoordinator: NSObject, Coordinator {
         window.makeKeyAndVisible()
     }
 
-    func presentLoginController() {
-        window.rootViewController = loginController
-        window.makeKeyAndVisible()
-    }
-
     func presentTabBarController() {
         window.rootViewController = tabBarController
         window.makeKeyAndVisible()