Fix a bug introduced by commit 5a02cb7 .

- In that commit, the "delete password" in the edit view would be disabled by the presence of the "password length slider".
This commit is contained in:
Yishi Lin 2017-03-24 01:10:26 +08:00
parent 3b3904fb40
commit 2107954cd3
3 changed files with 42 additions and 21 deletions

View file

@ -16,7 +16,8 @@ class AddPasswordTableViewController: PasswordEditorTableViewController {
override func viewDidLoad() {
tableData = [
[[.type: PasswordEditorCellType.textFieldCell, .title: "name"]],
[[.type: PasswordEditorCellType.fillPasswordCell, .title: "password"]],
[[.type: PasswordEditorCellType.fillPasswordCell, .title: "password"],
[.type: PasswordEditorCellType.passwordLengthCell, .title: "passwordlength"]],
[[.type: PasswordEditorCellType.textViewCell, .title: "additions"]],
]
super.viewDidLoad()