Copy generated passwords to the clipboard.
This commit is contained in:
parent
fa512e6c86
commit
dde194ad3d
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class FillPasswordTableViewCell: ContentTableViewCell {
|
|||
@IBAction func generatePassword(_ sender: UIButton) {
|
||||
let plainPassword = Utils.randomString(length: 16)
|
||||
contentTextField.attributedText = Utils.attributedPassword(plainPassword: plainPassword)
|
||||
Utils.copyToPasteboard(textToCopy: plainPassword)
|
||||
}
|
||||
|
||||
override func getContent() -> String? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue