Improve the password length slider
- the slider appears after clicking "generate" - the slider goes away after clicking a non-password-related section - generate new password if the slider value changes
This commit is contained in:
parent
e4e20b1d6f
commit
5a02cb726e
6 changed files with 75 additions and 25 deletions
|
|
@ -12,8 +12,7 @@ class EditPasswordTableViewController: PasswordEditorTableViewController {
|
|||
override func viewDidLoad() {
|
||||
tableData = [
|
||||
[[.type: PasswordEditorCellType.textFieldCell, .title: "name", .content: password!.name]],
|
||||
[[.type: PasswordEditorCellType.fillPasswordCell, .title: "password", .content: password!.password],
|
||||
[.type: PasswordEditorCellType.passwordLengthCell, .title: "passwordlength"]],
|
||||
[[.type: PasswordEditorCellType.fillPasswordCell, .title: "password", .content: password!.password]],
|
||||
[[.type: PasswordEditorCellType.textViewCell, .title: "additions", .content: password!.getAdditionsPlainText()]],
|
||||
[[.type: PasswordEditorCellType.deletePasswordCell]],
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue