Improve edit password to make it consistent with Pass

This commit is contained in:
Bob Sun 2017-04-25 13:01:17 -07:00
parent 86cb8a84cd
commit 055ea243a3
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
6 changed files with 136 additions and 103 deletions

View file

@ -31,4 +31,11 @@ extension PasswordEntity {
passwordCategoryArray.reverse()
return passwordCategoryArray.joined(separator: " > ")
}
func getURL() -> URL? {
if let p = path {
return URL(string: p)
}
return nil
}
}