Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5142 from corona-warn-app/fix/EOL-certificate-ove…
Browse files Browse the repository at this point in the history
…rview-remove-info-text

EOL - Certificate Overview: don't show the certificate scanning info text, when hibernation is given.
  • Loading branch information
30mar authored Apr 4, 2023
2 parents 92608c0 + 736733e commit 58736b9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,13 @@ class HealthCertificateOverviewViewController: UITableViewController {
fatalError("Could not dequeue OverviewLabelTableCell")
}

cell.configure(text: AppStrings.HealthCertificate.Overview.scanningInfo, color: .enaColor(for: .textPrimary2), textAlignment: textAlignment)
if !CWAHibernationProvider.shared.isHibernationState {
cell.configure(
text: AppStrings.HealthCertificate.Overview.scanningInfo,
color: .enaColor(for: .textPrimary2),
textAlignment: textAlignment
)
}
return cell
}

Expand Down

0 comments on commit 58736b9

Please sign in to comment.