Skip to content
Snippets Groups Projects
Commit a0eb5769 authored by Oliver Wiese's avatar Oliver Wiese
Browse files

clean code (removing warnings)

parent 7e294188
No related branches found
No related tags found
3 merge requests!58Onboarding screens swift ui merge dev,!55WIP: Resolve "UI for gamifcation & stats",!47Provisional fix for OpenSSL 1.1+, needs testing
...@@ -328,16 +328,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -328,16 +328,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
} }
coord.pushInbox() coord.pushInbox()
return return
let rootViewController = (self.window?.rootViewController! as! UINavigationController)
for vc in rootViewController.viewControllers {
if let id = vc.restorationIdentifier, id == "folderViewController" {
let inboxViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "inboxViewController")
vc.title = NSLocalizedString("Folders", comment: "")
rootViewController.pushViewController(inboxViewController, animated: false)
break
}
}
} }
......
...@@ -56,8 +56,6 @@ enum MailServerConnectionError: Error { ...@@ -56,8 +56,6 @@ enum MailServerConnectionError: Error {
return .CheckSMTPServerConfig return .CheckSMTPServerConfig
case .TimeoutError : case .TimeoutError :
return .Timeout return .Timeout
default :
return .Default
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment