[INJI-609]: vc rendering with dynamic fields - corrections

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
This commit is contained in:
Vijay
2024-01-17 10:57:09 +05:30
parent 1d26ee12f8
commit 5fe987a4dc

View File

@@ -60,14 +60,12 @@ const getProfileImage = (
);
}
} else if (props?.vc?.credential?.biometrics?.face) {
if (props?.vc?.credential?.biometrics?.face) {
return (
<Image
source={{uri: props?.vc?.credential.biometrics.face}}
style={Theme.Styles.openCardImage}
/>
);
}
return (
<Image
source={{uri: props?.vc?.credential.biometrics.face}}
style={Theme.Styles.openCardImage}
/>
);
}
return <Icon name="person" color={Theme.Colors.Icon} size={88} />;
};