Browse Source

code cleaning

Bastian van de Wetering 6 years ago
parent
commit
247ff6c2f2
2 changed files with 1 additions and 8 deletions
  1. 1 3
      deltachat-ios/AccountSetupController.swift
  2. 0 5
      deltachat-ios/AppDelegate.swift

+ 1 - 3
deltachat-ios/AccountSetupController.swift

@@ -157,9 +157,7 @@ class AccountSetupController: UITableViewController {
     super.viewDidAppear(animated)
     addProgressHudEventListener()
     // loginButton.isEnabled = false
-    print(emailCell.getText())
-    print("account setup appeared")
-  }
+	}
 
   override func viewDidDisappear(_: Bool) {
     let nc = NotificationCenter.default

+ 0 - 5
deltachat-ios/AppDelegate.swift

@@ -49,14 +49,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
 
   func application(_: UIApplication, open url: URL, options _: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
     // gets here when app returns from oAuth2-Setup process - the url contains the provided token
-
     if let params = url.queryParameters, let token = params["code"] {
-      //			MRConfig.mailPw = authorizationCode
-      //			MRConfig.setAuthFlags(flags: Int(DC_LP_AUTH_OAUTH2))
-      //			dc_configure(mailboxPointer)
       NotificationCenter.default.post(name: NSNotification.Name("oauthLoginApproved"), object: nil, userInfo: ["token": token])
     }
-
     return true
   }