Use gray instead of lightGray to show last updated time
This commit is contained in:
parent
4baf0b0bf3
commit
1c45766b96
1 changed files with 2 additions and 2 deletions
|
|
@ -256,9 +256,9 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
||||||
let footerLabel = UILabel(frame: CGRect(x: 15, y: 15, width: tableView.frame.width, height: 60))
|
let footerLabel = UILabel(frame: CGRect(x: 15, y: 15, width: tableView.frame.width, height: 60))
|
||||||
footerLabel.numberOfLines = 0
|
footerLabel.numberOfLines = 0
|
||||||
footerLabel.font = UIFont.preferredFont(forTextStyle: .footnote)
|
footerLabel.font = UIFont.preferredFont(forTextStyle: .footnote)
|
||||||
footerLabel.textColor = UIColor.lightGray
|
footerLabel.textColor = UIColor.gray
|
||||||
let dateString = PasswordStore.shared.getLatestCommitDate(filename: (passwordEntity?.rawPath)!)
|
let dateString = PasswordStore.shared.getLatestCommitDate(filename: (passwordEntity?.rawPath)!)
|
||||||
footerLabel.text = "Latest commit: \(dateString ?? "Unknown")"
|
footerLabel.text = "Last Updated: \(dateString ?? "Unknown")"
|
||||||
view.addSubview(footerLabel)
|
view.addSubview(footerLabel)
|
||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue