diff --git a/DGCAWallet.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DGCAWallet.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index f80508f..2232ebb 100644 --- a/DGCAWallet.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DGCAWallet.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -33,7 +33,7 @@ "repositoryURL": "https://github.com/eu-digital-green-certificates/dgca-app-core-ios", "state": { "branch": "main", - "revision": "689a6e3da11bd163862b4c0168156d89c780a123", + "revision": "3125cb47aea8b8ebf1491122ac0d452f63606c68", "version": null } }, diff --git a/DGCAWallet/ViewControllers/CertificateViewer.swift b/DGCAWallet/ViewControllers/CertificateViewer.swift index 33b35e7..6e4fc66 100644 --- a/DGCAWallet/ViewControllers/CertificateViewer.swift +++ b/DGCAWallet/ViewControllers/CertificateViewer.swift @@ -49,6 +49,10 @@ class CertificateViewerVC: UIViewController { nameLabel.text = hCert.fullName if !isSaved { dismissButton.setTitle(l10n("btn.save"), for: .normal) + dismissButton.isHidden = false + if !hCert.isValid { + dismissButton.isHidden = true + } checkValidityButton.isHidden = true } else { checkValidityButton.isHidden = false