Explorar o código

call stopIo() before imex() (startIo() is already called when imex() ends, see addProgressAlertListener()

B. Petersen %!s(int64=4) %!d(string=hai) anos
pai
achega
8a9ae4c2f9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      deltachat-ios/Controller/SettingsController.swift

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

@@ -412,6 +412,7 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
         if !documents.isEmpty {
             showProgressAlert(title: String.localized("imex_progress_title_desktop"), dcContext: dcContext)
             DispatchQueue.main.async {
+                self.dcContext.stopIo()
                 self.dcContext.imex(what: what, directory: documents[0])
             }
         } else {