update basictableviewcontroller
This commit is contained in:
parent
24139e932b
commit
2487b23a10
7 changed files with 46 additions and 28 deletions
|
|
@ -40,9 +40,9 @@ class AboutRepositoryTableViewController: BasicStaticTableViewController {
|
|||
let formatted = ByteCountFormatter.string(fromByteCount: Int64(size), countStyle: ByteCountFormatter.CountStyle.file)
|
||||
self?.tableData = [
|
||||
// section 0
|
||||
[[.type: CellDataType.detail, .title: "Passwords", .detailText: String(passwordEntities.count)],
|
||||
[.type: CellDataType.detail, .title: "Size", .detailText: formatted],
|
||||
[.type: CellDataType.detail, .title: "Last Synced", .detailText: Utils.getLastUpdatedTimeString()],
|
||||
[[.style: CellDataStyle.value1, .accessoryType: UITableViewCellAccessoryType.none, .title: "Passwords", .detailText: String(passwordEntities.count)],
|
||||
[.style: CellDataStyle.value1, .accessoryType: UITableViewCellAccessoryType.none, .title: "Size", .detailText: formatted],
|
||||
[.style: CellDataStyle.value1, .accessoryType: UITableViewCellAccessoryType.none, .title: "Last Synced", .detailText: Utils.getLastUpdatedTimeString()],
|
||||
],
|
||||
]
|
||||
indicator.stopAnimating()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue