Skip to content

Commit

Permalink
fix: ios settings link in confirmation country screen
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMuzyk committed Nov 19, 2024
1 parent f218f1e commit c5f7843
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import FormProvider from '@components/Form/FormProvider';
import InputWrapper from '@components/Form/InputWrapper';
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeedback';
import PushRowWithModal from '@components/PushRowWithModal';
import SafeAreaConsumer from '@components/SafeAreaConsumer';
import ScrollView from '@components/ScrollView';
import Text from '@components/Text';
import TextLink from '@components/TextLink';
import useLocalize from '@hooks/useLocalize';
import type {SubStepProps} from '@hooks/useSubStep/types';
import useThemeStyles from '@hooks/useThemeStyles';
Expand Down Expand Up @@ -80,16 +80,13 @@ function Confirmation({onNext}: SubStepProps) {
interactive={false}
/>
<Text style={[styles.ph5, styles.mb3, styles.mutedTextLabel]}>
{`${translate('countryStep.yourBusiness')} ${translate('countryStep.youCanChange')}`}
<PressableWithoutFeedback
accessibilityRole="button"
accessibilityLabel={translate('common.settings')}
accessible
{`${translate('countryStep.yourBusiness')} ${translate('countryStep.youCanChange')}`}{' '}
<TextLink
style={[styles.label]}
onPress={handleSettingsPress}
style={styles.ml1}
>
<Text style={[styles.label, styles.textBlue]}>{translate('common.settings').toLowerCase()}</Text>
</PressableWithoutFeedback>
{translate('common.settings').toLowerCase()}
</TextLink>
.
</Text>
<FormProvider
Expand Down

0 comments on commit c5f7843

Please sign in to comment.