Tweak Password class
This commit is contained in:
parent
3cd8df310c
commit
d4d8d7267a
3 changed files with 12 additions and 14 deletions
|
|
@ -172,7 +172,7 @@ class ExtensionViewController: UIViewController, UITableViewDataSource, UITableV
|
|||
let extensionItem = NSExtensionItem()
|
||||
var returnDictionary = [OnePasswordExtensionKey.usernameKey: username,
|
||||
OnePasswordExtensionKey.passwordKey: password]
|
||||
if let totpPassword = decryptedPassword?.getOtp() {
|
||||
if let totpPassword = decryptedPassword?.currentOtp {
|
||||
returnDictionary[OnePasswordExtensionKey.totpKey] = totpPassword
|
||||
}
|
||||
extensionItem.attachments = [NSItemProvider(item: returnDictionary as NSSecureCoding, typeIdentifier: String(kUTTypePropertyList))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue