Add option to select two flavors of password generator: random and apple's (keychain)
This commit is contained in:
parent
3cf88dcbc8
commit
ad0c39b541
5 changed files with 59 additions and 11 deletions
|
|
@ -23,7 +23,7 @@ class FillPasswordTableViewCell: ContentTableViewCell {
|
|||
}
|
||||
|
||||
@IBAction func generatePassword(_ sender: UIButton) {
|
||||
let plainPassword = Utils.randomString(length: 16)
|
||||
let plainPassword = Utils.generatePassword(length: 16)
|
||||
contentTextField.attributedText = Utils.attributedPassword(plainPassword: plainPassword)
|
||||
Utils.copyToPasteboard(textToCopy: plainPassword)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue