Skip to content

Commit

Permalink
fix eu-cert fullscreen lookup key
Browse files Browse the repository at this point in the history
  • Loading branch information
ofa- committed Jul 14, 2021
1 parent 7c1d7ae commit 2d8dbd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class FullscreenDccFragment : ForceLightFragment(R.layout.fragment_fullscreen_dc
.map { certificates ->
certificates
?.filterIsInstance<EuropeanCertificate>()
?.firstOrNull { it.keyCertificateId == args.keyCertificateId }
?.firstOrNull { it.greenCertificate.getDgci() == args.keyCertificateId }
}
.observe(viewLifecycleOwner) { europeanCertificate ->
this.europeanCertificate = europeanCertificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class WalletCertificateFragment : MainFragment() {
if (certificate is EuropeanCertificate) {
findParentFragmentByType<WalletContainerFragment>()?.findNavControllerOrNull()?.safeNavigate(
WalletContainerFragmentDirections.actionWalletContainerFragmentToFullscreenDccFragment(
certificate.keyCertificateId,
certificate.greenCertificate.getDgci(),
)
)
} else {
Expand Down

0 comments on commit 2d8dbd6

Please sign in to comment.