Show category/folder text for autofill entries
Previously, the right-hand side of the autofill extension UI was empty; the category/folder text for a password entry wasn't showing. This adjusts the storyboard so the detail is being shown and updates the underlying Swift code to support the fix.
This commit is contained in:
parent
f98d56753b
commit
d67c6b13cb
2 changed files with 21 additions and 5 deletions
|
|
@ -126,7 +126,7 @@ class CredentialProviderViewController: ASCredentialProviderViewController, UITa
|
|||
}
|
||||
}
|
||||
|
||||
// define cell contents, and set long press action
|
||||
// define cell contents
|
||||
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
||||
let cell = tableView.dequeueReusableCell(withIdentifier: "passwordTableViewCell", for: indexPath)
|
||||
let entry = getPasswordEntry(by: indexPath)
|
||||
|
|
@ -137,7 +137,7 @@ class CredentialProviderViewController: ASCredentialProviderViewController, UITa
|
|||
}
|
||||
cell.accessoryType = .none
|
||||
cell.detailTextLabel?.font = UIFont.preferredFont(forTextStyle: .footnote)
|
||||
cell.detailTextLabel?.text = entry.categoryText
|
||||
cell.detailTextLabel?.text = entry.passwordEntity?.getCategoryText()
|
||||
return cell
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue