Use gray instead of lightGray to show last updated time

This commit is contained in:
Bob Sun 2017-02-27 17:37:53 +08:00
parent 4baf0b0bf3
commit 1c45766b96
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -256,9 +256,9 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
let footerLabel = UILabel(frame: CGRect(x: 15, y: 15, width: tableView.frame.width, height: 60))
footerLabel.numberOfLines = 0
footerLabel.font = UIFont.preferredFont(forTextStyle: .footnote)
footerLabel.textColor = UIColor.lightGray
footerLabel.textColor = UIColor.gray
let dateString = PasswordStore.shared.getLatestCommitDate(filename: (passwordEntity?.rawPath)!)
footerLabel.text = "Latest commit: \(dateString ?? "Unknown")"
footerLabel.text = "Last Updated: \(dateString ?? "Unknown")"
view.addSubview(footerLabel)
return view
}