Show folder path in the "add password" view

This commit is contained in:
Yishi Lin 2017-10-15 16:49:33 +08:00
parent ced3142291
commit 49180d74e6
2 changed files with 10 additions and 1 deletions

View file

@ -10,8 +10,8 @@ import UIKit
import passKit
class AddPasswordTableViewController: PasswordEditorTableViewController {
var tempContent: String = ""
let passwordStore = PasswordStore.shared
var defaultDirPrefix = ""
override func viewDidLoad() {
tableData = [
@ -24,6 +24,7 @@ class AddPasswordTableViewController: PasswordEditorTableViewController {
lengthSetting.max > lengthSetting.min {
tableData[1].append([.type: PasswordEditorCellType.passwordLengthCell, .title: "passwordlength"])
}
tableData[0][0][PasswordEditorCellKey.content] = defaultDirPrefix
super.viewDidLoad()
}