B. Petersen 5 years ago
parent
commit
1cbcafd56c

+ 3 - 3
deltachat-ios/Controller/AccountSetup/SecuritySettingsController.swift

@@ -106,19 +106,19 @@ enum SecurityType {
 class SecurityConverter {
     static func convertHexToString(type: SecurityType, hex value: Int) -> String {
         switch value {
-        case 0x00:
+        case 0x0:
             return String.localized("automatic")
         case 0x100:
             return "StartTLS"
         case 0x200:
             return "SSL/TLS"
-        case  0x400:
+        case 0x400:
             return String.localized("off")
         case 0x10000:
             return "StartTLS"
         case 0x20000:
             return "SSL/TLS"
-        case  0x40000:
+        case 0x40000:
             return String.localized("off")
         default:
             return "Undefined"