diff --git a/packages/legacy/core/App/screens/ProofRequest.tsx b/packages/legacy/core/App/screens/ProofRequest.tsx index 899774316..820144f9e 100644 --- a/packages/legacy/core/App/screens/ProofRequest.tsx +++ b/packages/legacy/core/App/screens/ProofRequest.tsx @@ -834,7 +834,7 @@ const ProofRequest: React.FC = ({ navigation, proofId }) => { {!hasAvailableCredentials && ( 1 && userCredentials.length > 1 + missingCredentials.length > 0 && userCredentials.length > 0 ? credentialListHeader(t('ProofRequest.MissingCredentials')) : undefined } @@ -856,7 +856,7 @@ const ProofRequest: React.FC = ({ navigation, proofId }) => { )} 1 && userCredentials.length > 1 + missingCredentials.length > 0 && userCredentials.length > 0 ? credentialListHeader(t('ProofRequest.FromYourWallet')) : undefined } diff --git a/packages/legacy/core/__tests__/screens/__snapshots__/W3cProofRequest.test.tsx.snap b/packages/legacy/core/__tests__/screens/__snapshots__/W3cProofRequest.test.tsx.snap index 7b94c5b4b..289cfef1c 100644 --- a/packages/legacy/core/__tests__/screens/__snapshots__/W3cProofRequest.test.tsx.snap +++ b/packages/legacy/core/__tests__/screens/__snapshots__/W3cProofRequest.test.tsx.snap @@ -163,6 +163,29 @@ exports[`displays a proof request screen ProofRequest Screen, W3C displays a pro } /> } + ListHeaderComponent={ + + + ProofRequest.MissingCredentials + + + } data={ Array [ Object { @@ -213,6 +236,32 @@ exports[`displays a proof request screen ProofRequest Screen, W3C displays a pro viewabilityConfigCallbackPairs={Array []} > + + + + ProofRequest.MissingCredentials + + + + + ProofRequest.FromYourWallet + + + } data={ Array [ Object { @@ -699,6 +771,32 @@ exports[`displays a proof request screen ProofRequest Screen, W3C displays a pro viewabilityConfigCallbackPairs={Array []} > + + + + ProofRequest.FromYourWallet + + +