From 7101deb994c948f177f7b2b6d94d0fa2db265f6b Mon Sep 17 00:00:00 2001 From: Talwinder kaur Date: Mon, 30 Oct 2023 15:50:45 -0400 Subject: [PATCH] fix(app): Show the list of credentials which matches the submission Signed-off-by: Talwinder kaur --- demo/app/lib/scenarios/handle_openid_vp_flow.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/app/lib/scenarios/handle_openid_vp_flow.dart b/demo/app/lib/scenarios/handle_openid_vp_flow.dart index 2a6b96fd..11d4774a 100644 --- a/demo/app/lib/scenarios/handle_openid_vp_flow.dart +++ b/demo/app/lib/scenarios/handle_openid_vp_flow.dart @@ -73,7 +73,7 @@ void handleOpenIDVpFlow(BuildContext context, String qrCodeURL) async { if (matchedVCsID.length > 1) { log('matched length, more than matched vc ids are found ${matchedVCsID.length}'); var credentialDisplayData = storedCredentials - .where((element) => credentials.contains(element.value.rawCredential)) + .where((element) => matchedVCsID.contains(element.value.credID)) .map((e) => CredentialData( rawCredential: e.value.rawCredential, issuerURL: e.value.issuerURL,