Move codes from utils to password and passwordstore
This commit is contained in:
parent
429ac1c915
commit
1ab70cf6d7
6 changed files with 41 additions and 40 deletions
|
|
@ -199,7 +199,7 @@ class PasswordEditorTableViewController: UITableViewController, FillPasswordTabl
|
|||
showPasswordSettings()
|
||||
|
||||
let length = passwordLengthCell?.roundedValue ?? 0
|
||||
let plainPassword = Utils.generatePassword(length: length)
|
||||
let plainPassword = Password.generatePassword(length: length)
|
||||
SecurePasteboard.shared.copy(textToCopy: plainPassword)
|
||||
|
||||
// update tableData so to make sure reloadData() works correctly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue