Bläddra i källkod

remove unneeded code

Jonas Reinsch 7 år sedan
förälder
incheckning
7d0d3d8b0b
1 ändrade filer med 0 tillägg och 7 borttagningar
  1. 0 7
      deltachat-ios/AppDelegate.swift

+ 0 - 7
deltachat-ios/AppDelegate.swift

@@ -92,12 +92,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         let appCoordinator = AppCoordinator()
         appCoordinator.setupViewControllers(window: window)
         
-        guard let ump = mrmailbox_get_version_str() else {
-            fatalError("Error: invalid version string")
-        }
-        let versionString = String(cString: ump)
-        print(versionString)
-
         //       - second param remains nil (user data for more than one mailbox)
         mailboxPointer = mrmailbox_new(callback_ios, nil, "iOS")
         guard mailboxPointer != nil else {
@@ -115,7 +109,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         mrmailbox_set_config(mailboxPointer, "mail_pw", "foobar")
         
         mrmailbox_configure_and_connect(mailboxPointer)
-        print(r)
         
         let nc = NotificationCenter.default
         nc.addObserver(forName:Notification.Name(rawValue:"MrEventMsgsChanged"),