Skip to content

Commit

Permalink
fix(app): Show the list of credentials which matches the submission (#…
Browse files Browse the repository at this point in the history
…654)

Signed-off-by: Talwinder kaur <[email protected]>
  • Loading branch information
talwinder kaur authored Oct 31, 2023
1 parent c4e16e7 commit 4c25d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/app/lib/scenarios/handle_openid_vp_flow.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4c25d64

Please sign in to comment.