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

Fix/14949 remove test certificates in hibernation #5126

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, CoronaWarnAppDelegate, Re

private func applyEndOfLifeChanges() {
// Clear ddc Wallet cache
healthCertificateService.healthCertifiedPersons.forEach { healthCertifiedPerson in
healthCertifiedPerson.dccWalletInfo = nil
healthCertificateService.healthCertifiedPersons.forEach {
$0.dccWalletInfo = nil
$0.healthCertificates = $0.healthCertificates.filter {
$0.testEntry == nil
}
}

// Clear all notifications including deadman notification
Expand Down