polish about repository page

This commit is contained in:
Bob Sun 2017-02-10 15:32:01 +08:00
parent cbd8b80cb0
commit c010d28911
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
4 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ class AboutRepositoryTableViewController: BasicStaticTableViewController {
// section 0
[[.type: CellDataType.detail, .title: "Passwords", .detailText: String(passwordEntities.count)],
[.type: CellDataType.detail, .title: "Size", .detailText: formatted],
[.type: CellDataType.detail, .title: "Last Updated", .detailText: Utils.getLastUpdatedTimeString()],
[.type: CellDataType.detail, .title: "Last Synced", .detailText: Utils.getLastUpdatedTimeString()],
],
]
tableView.reloadData()

View file

@ -252,7 +252,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
func updateRefreshControlTitle() {
var atribbutedTitle = "Pull to Sync Password Store"
atribbutedTitle = "Last Sync: \(Utils.getLastUpdatedTimeString())"
atribbutedTitle = "Last Synced: \(Utils.getLastUpdatedTimeString())"
refreshControl.attributedTitle = NSAttributedString(string: atribbutedTitle)
}