Selaa lähdekoodia

add todos / comments

Jonas Reinsch 7 vuotta sitten
vanhempi
commit
060ea677de
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      deltachat-ios/AppDelegate.swift

+ 4 - 1
deltachat-ios/AppDelegate.swift

@@ -115,8 +115,11 @@ func initCore(withCredentials: Bool, email: String = "", password: String = "")
     }
     
     DispatchQueue.global(qos: .default).async {
-        // TODO: handle failure
+        // TODO: - handle failure, need to show credentials screen again
         mrmailbox_configure_and_connect(mailboxPointer)
+        // TODO: next two lines should move here in success case
+        // UserDefaults.standard.set(true, forKey: Constants.Keys.deltachatUserProvidedCredentialsKey)
+        // UserDefaults.standard.synchronize()
     }
     
     addVibrationOnIncomingMessage()