Skip to content

Commit 82f2ebb

Browse files
committed
fix: Moved text padding one level higher so link works correctly
1 parent b73ebe2 commit 82f2ebb

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

src/components/SubStepForms/CountryFullStep/subSteps/Confirmation.tsx

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, {useCallback, useEffect, useState} from 'react';
2+
import {View} from 'react-native';
23
import FormProvider from '@components/Form/FormProvider';
34
import InputWrapper from '@components/Form/InputWrapper';
45
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
@@ -90,16 +91,18 @@ function Confirmation({onNext, policyID}: ConfirmationStepProps) {
9091
title={currency}
9192
interactive={false}
9293
/>
93-
<Text style={[styles.ph5, styles.mb3, styles.mutedTextLabel]}>
94-
{`${translate('countryStep.yourBusiness')} ${translate('countryStep.youCanChange')}`}{' '}
95-
<TextLink
96-
style={[styles.label]}
97-
onPress={handleSettingsPress}
98-
>
99-
{translate('common.settings').toLowerCase()}
100-
</TextLink>
101-
.
102-
</Text>
94+
<View style={styles.ph5}>
95+
<Text style={[styles.mb3, styles.mutedTextLabel]}>
96+
{`${translate('countryStep.yourBusiness')} ${translate('countryStep.youCanChange')}`}{' '}
97+
<TextLink
98+
style={[styles.label]}
99+
onPress={handleSettingsPress}
100+
>
101+
{translate('common.settings').toLowerCase()}
102+
</TextLink>
103+
.
104+
</Text>
105+
</View>
103106
<InputWrapper
104107
InputComponent={PushRowWithModal}
105108
optionsList={shouldAllowChange ? CONST.ALL_EUROPEAN_UNION_COUNTRIES : CONST.ALL_COUNTRIES}

0 commit comments

Comments
 (0)