Skip to content

Commit

Permalink
Minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
VickyStash committed Nov 5, 2024
1 parent 1aa4fe7 commit b14b704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ function WorkspaceCompanyCardEditCardNamePage({route}: WorkspaceCompanyCardEditC
title={translate('workspace.moreFeatures.companyCards.cardName')}
onBackButtonPress={() => Navigation.goBack(ROUTES.WORKSPACE_COMPANY_CARD_DETAILS.getRoute(policyID, cardID, bank))}
/>
<Text style={[styles.mt3, styles.mh5, styles.mb5]}>
<Text style={styles.textNormal}>{translate('workspace.moreFeatures.companyCards.giveItNameInstruction')}</Text>
</Text>
<Text style={[styles.mh5, styles.mt3, styles.mb5]}>{translate('workspace.moreFeatures.companyCards.giveItNameInstruction')}</Text>
<FormProvider
formID={ONYXKEYS.FORMS.EDIT_WORKSPACE_COMPANY_CARD_NAME_FORM}
submitButtonText={translate('common.save')}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/workspace/companyCards/assignCard/CardNameStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ function CardNameStep({policyID}: CardNameStepProps) {
title={translate('workspace.moreFeatures.companyCards.cardName')}
onBackButtonPress={() => CompanyCards.setAssignCardStepAndData({currentStep: CONST.COMPANY_CARD.STEP.CONFIRMATION, isEditing: false})}
/>
<Text style={[styles.mt3, styles.mh5, styles.mb5]}>
<Text style={styles.textNormal}>{translate('workspace.moreFeatures.companyCards.giveItNameInstruction')}</Text>
</Text>
<Text style={[styles.mh5, styles.mt3, styles.mb5]}>{translate('workspace.moreFeatures.companyCards.giveItNameInstruction')}</Text>
<FormProvider
formID={ONYXKEYS.FORMS.EDIT_WORKSPACE_COMPANY_CARD_NAME_FORM}
submitButtonText={translate('common.confirm')}
Expand Down

0 comments on commit b14b704

Please sign in to comment.