Animate "AdditionField" struct to avoid usage of tuple "(String, String)"
This commit is contained in:
parent
1890e77bd2
commit
b7a0cbaef6
2 changed files with 29 additions and 22 deletions
|
|
@ -278,8 +278,8 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
|||
let filteredAdditionKeys = password.getFilteredAdditions()
|
||||
if filteredAdditionKeys.count > 0 {
|
||||
section = TableSection(type: .addition, header: "additions")
|
||||
filteredAdditionKeys.forEach({ (key: String, value: String) in
|
||||
section.item.append(TableCell(title: key, content: value))
|
||||
filteredAdditionKeys.forEach({ field in
|
||||
section.item.append(TableCell(title: field.title, content: field.content))
|
||||
})
|
||||
tableData.append(section)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue