Skip to content

Commit

Permalink
remove unicity of cards in the discover
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Nov 28, 2024
1 parent 977105f commit b801ff7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/credentials/cubit/credentials_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -718,16 +718,6 @@ class CredentialsCubit extends Cubit<CredentialsState> {

/// verifiableIdCard
while (true) {
if (formatsSupported.contains(VCFormatType.vcSdJWT) &&
discoverCardsOptions.displayVerifiableIdSdJwt) {
allCategoryVC.add(
CredInfo(
credentialType: CredentialSubjectType.verifiableIdCard,
formatType: VCFormatType.vcSdJWT,
),
);
break;
}
if (formatsSupported.contains(VCFormatType.ldpVc) &&
discoverCardsOptions.displayVerifiableId) {
allCategoryVC.add(
Expand All @@ -736,7 +726,6 @@ class CredentialsCubit extends Cubit<CredentialsState> {
formatType: VCFormatType.ldpVc,
),
);
break;
}
if (formatsSupported.contains(VCFormatType.jwtVc) &&
discoverCardsOptions.displayVerifiableIdJwt) {
Expand All @@ -746,7 +735,6 @@ class CredentialsCubit extends Cubit<CredentialsState> {
formatType: VCFormatType.jwtVc,
),
);
break;
}
if (formatsSupported.contains(VCFormatType.jwtVcJson) &&
discoverCardsOptions.displayVerifiableIdJwt) {
Expand All @@ -756,7 +744,6 @@ class CredentialsCubit extends Cubit<CredentialsState> {
formatType: VCFormatType.jwtVcJson,
),
);
break;
}
break;
}
Expand All @@ -782,7 +769,6 @@ class CredentialsCubit extends Cubit<CredentialsState> {
formatType: VCFormatType.ldpVc,
),
);
break;
}

if (formatsSupported.contains(VCFormatType.jwtVcJson) &&
Expand All @@ -793,7 +779,6 @@ class CredentialsCubit extends Cubit<CredentialsState> {
formatType: VCFormatType.jwtVcJson,
),
);
break;
}
break;
}
Expand Down

0 comments on commit b801ff7

Please sign in to comment.