Look for "login" as a username field in auto fill

- Will look for "username" first
This commit is contained in:
Yishi Lin 2017-06-28 00:32:50 +08:00
parent 69b58e686d
commit 39820a4108
3 changed files with 23 additions and 6 deletions

View file

@ -261,6 +261,9 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
if let username = password.getUsername() {
section.item.append(TableCell(title: "username", content: username))
}
if let login = password.getLogin() {
section.item.append(TableCell(title: "login", content: login))
}
section.item.append(TableCell(title: "password", content: password.password))
tableData.append(section)