Эх сурвалжийг харах

always try to restart IO after cancelling setting up a new account and returning to an existing one

cyberta 2 жил өмнө
parent
commit
301cd3be4d

+ 1 - 0
deltachat-ios/Controller/WelcomeViewController.swift

@@ -266,6 +266,7 @@ class WelcomeViewController: UIViewController, ProgressAlertHandler {
         let lastSelectedAccountId = UserDefaults.standard.integer(forKey: Constants.Keys.lastSelectedAccountKey)
         let lastSelectedAccountId = UserDefaults.standard.integer(forKey: Constants.Keys.lastSelectedAccountKey)
         if lastSelectedAccountId != 0 {
         if lastSelectedAccountId != 0 {
             _ = dcAccounts.select(id: lastSelectedAccountId)
             _ = dcAccounts.select(id: lastSelectedAccountId)
+            dcAccounts.startIo()
         }
         }
 
 
         appDelegate.reloadDcContext()
         appDelegate.reloadDcContext()