                 return
             }
             titleLabel.text = title
-            switch title.lowercased() {
-            case "password":
+            if title.caseInsensitiveCompare("password") == .orderedSame {
                 type = .password
                 if isReveal {
                     contentLabel.attributedText = Utils.attributedPassword(plainPassword: content)

        }
        self.accessoryView = buttons
    }
}

                    contentLabel.text = Globals.oneTimePasswordDots
                }
                contentLabel.font = Globals.passwordFont
            } else if title.lowercased().range(of: "url") != nil || verifyUrl(content) {
                type = .URL
                contentLabel.text = content
                contentLabel.font = UIFont.systemFont(ofSize: contentLabel.font.pointSize)
            } else {
                // default
                type = .other
                contentLabel.text = content
                contentLabel.font = UIFont.systemFont(ofSize: contentLabel.font.pointSize)
