浏览代码

fix title for 'SMTP security' options

B. Petersen 4 年之前
父节点
当前提交
b3a7cb5730
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      deltachat-ios/Controller/AccountSetupController.swift

+ 3 - 3
deltachat-ios/Controller/AccountSetupController.swift

@@ -498,7 +498,7 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
         case tagImapSecurityCell:
             showImapSecurityOptions()
         case tagSmtpSecurityCell:
-            showSmptpSecurityOptions()
+            showSmtpSecurityOptions()
         case tagCertCheckCell:
             showCertCheckOptions()
         case tagViewLogCell:
@@ -858,9 +858,9 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
         navigationController?.pushViewController(securitySettingsController, animated: true)
     }
 
-    private func showSmptpSecurityOptions() {
+    private func showSmtpSecurityOptions() {
         let securitySettingsController = SecuritySettingsController(dcContext: dcContext,
-                                                                    title: String.localized("login_imap_security"),
+                                                                    title: String.localized("login_smtp_security"),
                                                                     type: SecurityType.SMTPSecurity)
         navigationController?.pushViewController(securitySettingsController, animated: true)
     }