Fix a bug caused by typo

This commit is contained in:
Bob Sun 2017-03-21 22:36:00 -07:00
parent c21502a10f
commit 7c7f32803d
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -256,7 +256,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
let filteredAdditionKeys = password.additionKeys.filter {
$0.lowercased() != "username" &&
$0.lowercased() != "password" &&
(!$0.hasPrefix("unknown") || !Defaults[.isHideOTPOn]) &&
(!$0.hasPrefix("unknown") || !Defaults[.isHideUnknownOn]) &&
(!Password.otpKeywords.contains($0) || !Defaults[.isHideOTPOn]) }
if filteredAdditionKeys.count > 0 {