Explorar o código

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

cyberta %!s(int64=2) %!d(string=hai) anos
pai
achega
301cd3be4d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      deltachat-ios/Controller/WelcomeViewController.swift

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

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