remove commented code

This commit is contained in:
Bob Sun 2017-02-14 16:43:06 +08:00
parent fad66a3215
commit 2546666d91
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -83,22 +83,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
}))
self.present(alert, animated: true, completion: nil)
}
// var tableDataIndex = 1
// self.tableData.append(TableSection(title: "", item: []))
// let password = self.password!
// if let username = password.getUsername() {
// self.tableData[tableDataIndex].item.append(TableCell(title: "username", content: username))
// }
// self.tableData[tableDataIndex].item.append(TableCell(title: "password", content: password.password))
// if password.additions.count > 0 {
// self.tableData.append(TableSection(title: "additions", item: []))
// tableDataIndex += 1
// for additionKey in password.additionKeys {
// self.tableData[tableDataIndex].item.append(TableCell(title: additionKey, content: password.additions[additionKey]!))
//
// }
// }
let password = self.password!
self.setTableData()
DispatchQueue.main.async { [weak self] in