TP-31863 | selfie text fix and redirection to profile page on id card notification click
This commit is contained in:
@@ -75,7 +75,7 @@ const IDCardImageCapture = () => {
|
||||
</View>
|
||||
<View style={[GenericStyles.p12, GenericStyles.fill, GenericStyles.row]}>
|
||||
<Text style={GenericStyles.fill}>
|
||||
Capture your image to create an ID card for customer’s reference.
|
||||
Capture your selfie to create an ID card for customer’s reference.
|
||||
</Text>
|
||||
<View style={styles.chevron}>
|
||||
<ArrowRightOutlineIcon fillColor={COLORS.TEXT.LIGHT} />
|
||||
|
||||
@@ -26,7 +26,7 @@ const ReviewIDImage: React.FC<IReviewIDImage> = ({ imageUri, retakeImage, closeM
|
||||
};
|
||||
return (
|
||||
<View style={[GenericStyles.fill, styles.container]}>
|
||||
<NavigationHeader title="Review image" onBack={closeModal} />
|
||||
<NavigationHeader title="Review selfie" onBack={closeModal} />
|
||||
<View style={[GenericStyles.fill, GenericStyles.pv24]}>
|
||||
<RNFastImage source={{ uri: imageUri }} style={{ height: '100%' }} resizeMode={'cover'} />
|
||||
</View>
|
||||
|
||||
@@ -108,6 +108,14 @@ const NotificationItem: React.FC<INotificationProps> = ({ data }) => {
|
||||
navigateToScreen(BOTTOM_TAB_ROUTES.VisitPlan);
|
||||
return;
|
||||
}
|
||||
if (
|
||||
templateName === NotificationTypes.AGENT_ID_APPROVED_TEMPLATE ||
|
||||
templateName === NotificationTypes.AGENT_ID_REJECTED_TEMPLATE
|
||||
) {
|
||||
navigateToScreen(BOTTOM_TAB_ROUTES.VisitPlan);
|
||||
navigateToScreen(BOTTOM_TAB_ROUTES.Profile);
|
||||
return;
|
||||
}
|
||||
if (!collectionCaseId || !clickable) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ const NotificationTemplate: React.FC<INotificationTemplateProps> = ({ data }) =>
|
||||
ID card rejected!
|
||||
</Heading>
|
||||
<Text light>
|
||||
Your ID card has been rejected. Please upload your picture again for the ID card
|
||||
Your ID card has been rejected. Please upload your selfie again for the ID card
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user