diff --git a/packages/legacy/core/App/screens/ProofRequest.tsx b/packages/legacy/core/App/screens/ProofRequest.tsx index e59f9f775c..ebba6c121e 100644 --- a/packages/legacy/core/App/screens/ProofRequest.tsx +++ b/packages/legacy/core/App/screens/ProofRequest.tsx @@ -76,6 +76,8 @@ const ProofRequest: React.FC = ({ navigation, route }) => { const { start } = useTour() const screenIsFocused = useIsFocused() + const hasMatchingCredDef = useMemo(() => activeCreds.some((cred) => cred.credDefId !== undefined), [activeCreds]) + const styles = StyleSheet.create({ pageContainer: { flex: 1, @@ -458,7 +460,7 @@ const ProofRequest: React.FC = ({ navigation, route }) => { )} - {!hasAvailableCredentials && ( + {!hasAvailableCredentials && hasMatchingCredDef && ( = ({ navigation, route }) => { {!loading && ( <> - + {hasMatchingCredDef && ( + + )}