Skip to content

Commit

Permalink
After approving a user in (staging) DEMIM, it's not possible to downl…
Browse files Browse the repository at this point in the history
…oad the credential anymore

#3154
  • Loading branch information
hawkbee1 committed Dec 4, 2024
1 parent 708b24a commit bdfa0d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,13 +609,13 @@ extension CredentialSubjectTypeExtension on CredentialSubjectType {
case CredentialSubjectType.tezVoucher:
case CredentialSubjectType.diplomaCard:
case CredentialSubjectType.twitterCard:
return true;
case CredentialSubjectType.tezosAssociatedWallet:
case CredentialSubjectType.ethereumAssociatedWallet:
case CredentialSubjectType.fantomAssociatedWallet:
case CredentialSubjectType.polygonAssociatedWallet:
case CredentialSubjectType.binanceAssociatedWallet:
case CredentialSubjectType.etherlinkAssociatedWallet:
return true;
case CredentialSubjectType.walletCredential:
case CredentialSubjectType.tezosPooAddress:
case CredentialSubjectType.ethereumPooAddress:
Expand Down
3 changes: 1 addition & 2 deletions lib/credentials/cubit/credentials_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,7 @@ class CredentialsCubit extends Cubit<CredentialsState> {
}
}
} else if (credentialSubjectModel
.credentialSubjectType.isBlockchainAccount ||
credentialSubjectModel.credentialSubjectType.supportSingleOnly) {
.credentialSubjectType.supportSingleOnly) {
await deleteById(
id: storedCredential.id,
showMessage: false,
Expand Down

0 comments on commit bdfa0d0

Please sign in to comment.