Skip to content

Commit

Permalink
alllow deletion of blockchainAccountsCards
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Mar 1, 2024
1 parent a0a37f2 commit 1cb9449
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,7 @@ class CredentialModel extends Equatable {

bool get disAllowDelete =>
credentialPreview.credentialSubjectModel.credentialSubjectType ==
CredentialSubjectType.walletCredential ||
(credentialPreview.credentialSubjectModel.credentialCategory ==
CredentialCategory.blockchainAccountsCards &&
credentialPreview.credentialSubjectModel.issuedBy?.name ==
'My wallet');
CredentialSubjectType.walletCredential;

String get getFormat => format != null
? format!
Expand Down

0 comments on commit 1cb9449

Please sign in to comment.