COVIDSafe code from version 1.14 (#27)

This commit is contained in:
COVIDSafe Support 2020-11-09 16:51:00 -08:00 committed by GitHub
parent 3ea83834f5
commit cf93ea43c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 370 additions and 141 deletions

View file

@ -74,7 +74,7 @@ class CovidStatisticsViewController: UITableViewController {
// MARK: Process data for the table
func setupData(statistics: StatisticsResponse?, errorType: MessageAPIError?, hasInternet: Bool) {
func setupData(statistics: StatisticsResponse?, errorType: CovidSafeAPIError?, hasInternet: Bool) {
showInternetError = false
showError = false
showRefresh = false
@ -189,7 +189,7 @@ class CovidStatisticsViewController: UITableViewController {
dateFormatter.timeStyle = .short
headerView.dateLabelContainer.isHidden = false
headerView.dateLabelDivider.isHidden = false
headerView.dateLabel.text = "\(dateFormatter.string(from: updateDate)) AEST"
headerView.dateLabel.text = "\(dateFormatter.string(from: updateDate))"
} else {
headerView.dateLabelContainer.isHidden = true
headerView.dateLabelDivider.isHidden = true