mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-04-19 04:55:19 +00:00
COVIDSafe code from version 1.14 (#27)
This commit is contained in:
parent
3ea83834f5
commit
cf93ea43c0
29 changed files with 370 additions and 141 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue