Skip to content

Commit

Permalink
fixed contex json for test env (eu-digital-green-certificates#102)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandr Chernyy <[email protected]>
  • Loading branch information
alexchornyi and pingus-nikalex authored Jul 26, 2021
1 parent 0a2497e commit 8153bd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand Down
4 changes: 4 additions & 0 deletions DGCAWallet/ViewControllers/CertificateViewer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8153bd8

Please sign in to comment.