Skip to content

Commit

Permalink
individual label change testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cadibemma committed Dec 4, 2024
1 parent 15667d6 commit 9582970
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export const ChildTemplate: FC<ChildTemplateProps> = ({
const headerProps: HeaderBannerProps = {
leftButton: {
text: backLabel,
a11yLabel: backLabelA11y
? t('back.a11yLabel', { screenName: backLabelA11y })
: t('back.a11yLabel', { screenName: backLabel }),
a11yLabel: backLabelA11y,
// ? t('back.a11yLabel', { screenName: backLabelA11y })
// : t('back.a11yLabel', { screenName: backLabel }),
testID: backLabelTestID,
onPress: backLabelOnPress,
descriptiveBack: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ function ClaimDetailsScreen({ navigation, route }: ClaimDetailsScreenProps) {
return (
<FeatureLandingTemplate
backLabel={backLabel}
backLabelA11y={t('back.a11yLabel', { screenName: backLabel })}
backLabelOnPress={navigation.goBack}
title={t('claimDetails.title')}
scrollViewProps={{ scrollViewRef }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ function ClaimsHistoryScreen({ navigation }: IClaimsHistoryScreen) {
return (
<FeatureLandingTemplate
backLabel={backLabel}
backLabelA11y={t('back.a11yLabel', { screenName: backLabel })}
backLabelOnPress={navigation.goBack}
title={title}
testID="claimsHistoryID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const ClaimsScreen = ({ navigation }: ClaimsScreenProps) => {
return (
<FeatureLandingTemplate
backLabel={t('benefits.title')}
backLabelA11y={t('back.a11yLabel', { screenName: t('benefits.title') })}
backLabelOnPress={navigation.goBack}
title={t('claims.title')}>
<Box mb={theme.dimensions.standardMarginBetween}>
Expand Down

0 comments on commit 9582970

Please sign in to comment.