Ver Fonte

remove superfluous dc_configure() calss

B. Petersen há 5 anos atrás
pai
commit
65c6123213

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

@@ -163,7 +163,6 @@ internal final class SettingsViewController: QuickTableViewController {
 				default:
 					logger.info("unknown title", title)
 				}
-				dc_configure(mailboxPointer)
 				return
 			}
 		}

+ 0 - 4
deltachat-ios/Coordinator/AppCoordinator.swift

@@ -264,7 +264,6 @@ class AccountSetupCoordinator: Coordinator {
 		portSettingsController.onDismiss = {
 			port in
 			MRConfig.mailPort = port
-			dc_configure(mailboxPointer)
 		}
 		navigationController.pushViewController(portSettingsController, animated: true)
 	}
@@ -278,7 +277,6 @@ class AccountSetupCoordinator: Coordinator {
 			if let secValue = SecurityValue(rawValue: option) {
 				let value = SecurityConverter.convertValueToInt(type: .IMAPSecurity, value: secValue)
 				MRConfig.setImapSecurity(imapFlags: value)
-				dc_configure(mailboxPointer)
 			}
 		}
 		navigationController.pushViewController(securitySettingsController, animated: true)
@@ -291,7 +289,6 @@ class AccountSetupCoordinator: Coordinator {
 		portSettingsController.onDismiss = {
 			port in
 			MRConfig.sendPort = port
-			dc_configure(mailboxPointer)
 		}
 		navigationController.pushViewController(portSettingsController, animated: true)
 	}
@@ -305,7 +302,6 @@ class AccountSetupCoordinator: Coordinator {
 			if let secValue = SecurityValue(rawValue: option) {
 				let value = SecurityConverter.convertValueToInt(type: .SMTPSecurity, value: secValue)
 				MRConfig.setSmtpSecurity(smptpFlags: value)
-				dc_configure(mailboxPointer)
 			}
 		}
 		navigationController.pushViewController(securitySettingsController, animated: true)