* fix #540, duplicate entries in auto fill extension `prepareCredentialList` is called twice, once before unlock and once after. If the lists are already prepared, i.e. not empty, skip this step. * fix format and lint
This commit is contained in:
parent
31c6541f9e
commit
51ad0c2920
4 changed files with 11 additions and 5 deletions
|
|
@ -72,6 +72,10 @@ class PasswordsTableDataSource: NSObject, UITableViewDataSource {
|
|||
return
|
||||
}
|
||||
|
||||
guard suggestedPasswordsTableEntries.isEmpty, otherPasswordsTableEntries.isEmpty else {
|
||||
return
|
||||
}
|
||||
|
||||
for entry in passwordTableEntries {
|
||||
if entry.matches(text) {
|
||||
suggestedPasswordsTableEntries.append(entry)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue