Support deleting password

This commit is contained in:
Bob Sun 2017-03-21 13:16:25 -07:00
parent 1141e267d9
commit ee9776ab71
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
11 changed files with 91 additions and 53 deletions

View file

@ -38,7 +38,7 @@ class FillPasswordTableViewCell: ContentTableViewCell {
return contentTextField.attributedText?.string
}
override func setContent(content: String) {
contentTextField.attributedText = Utils.attributedPassword(plainPassword: content)
override func setContent(content: String?) {
contentTextField.attributedText = Utils.attributedPassword(plainPassword: content ?? "")
}
}