mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-10 14:07:59 -05:00
[INJI-609]: vc rendering with dynamic fields - corrections
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
This commit is contained in:
@@ -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} />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user