change update password related functions

This commit is contained in:
Bob Sun 2017-02-15 20:01:17 +08:00
parent 8d474677da
commit 869f06e00f
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
4 changed files with 40 additions and 23 deletions

View file

@ -48,7 +48,7 @@ class EditPasswordTableViewController: PasswordEditorTableViewController {
let cellTitle = tableData[indexPath.section][indexPath.row][.title] as! String
cellContents[cellTitle] = contentCell.getContent()!
}
password!.updatePassword(name: cellContents["name"]!, plainText: "\(cellContents["password"]!)\n\(cellContents["additions"]!)")
password!.updatePassword(name: cellContents["name"]!, plainText: "\(cellContents["password"]!)\n\(cellContents["additions"]!)\n")
}
}