Skip to content

Commit

Permalink
feat: display revoked text and icon in ProofChangeCredential screen (#…
Browse files Browse the repository at this point in the history
…1419)

Signed-off-by: ClaudeArs <[email protected]>
  • Loading branch information
ClaudeArs authored Jan 30, 2025
1 parent 03a754f commit c65cbd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/legacy/core/App/screens/ProofChangeCredential.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ const ProofChangeCredential: React.FC<ProofChangeProps> = ({ route, navigation }
ListHeaderComponent={listHeader}
renderItem={({ item }) => {
const errors: CredentialErrors[] = []
item.credExchangeRecord?.revocationNotification?.revocationDate && errors.push(CredentialErrors.Revoked)
!hasSatisfiedPredicates(getCredentialsFields(), item.credId) && errors.push(CredentialErrors.PredicateError)
return (
<View style={styles.pageMargin}>
Expand Down

0 comments on commit c65cbd8

Please sign in to comment.