diff --git a/src/components/PressableWithDelayToggle.js b/src/components/PressableWithDelayToggle.js index 57f561ec91ac..f29345ef8d95 100644 --- a/src/components/PressableWithDelayToggle.js +++ b/src/components/PressableWithDelayToggle.js @@ -98,9 +98,10 @@ function PressableWithDelayToggle(props) { <> {props.isDelayButtonStateComplete && props.textChecked ? props.textChecked : props.text} +   - + {props.translate('contacts.helpTextBeforeEmail')} ))} {i === 2 && ( - + )} diff --git a/src/pages/signin/Socials.js b/src/pages/signin/Socials.js index 52c21890c381..f7a866d2023b 100644 --- a/src/pages/signin/Socials.js +++ b/src/pages/signin/Socials.js @@ -1,15 +1,14 @@ import React from 'react'; import {View} from 'react-native'; import _ from 'underscore'; +import * as Link from '../../libs/actions/Link'; import Icon from '../../components/Icon'; -import Text from '../../components/Text'; +import PressableWithoutFeedback from '../../components/Pressable/PressableWithoutFeedback'; import * as Expensicons from '../../components/Icon/Expensicons'; import themeColors from '../../styles/themes/default'; import styles from '../../styles/styles'; import variables from '../../styles/variables'; import CONST from '../../CONST'; -import Hoverable from '../../components/Hoverable'; -import TextLink from '../../components/TextLink'; const socialsList = [ { @@ -36,27 +35,30 @@ const socialsList = [ function Socials() { return ( - + {_.map(socialsList, (social) => ( - - {(hovered) => ( - - - - - + { + e.preventDefault(); + Link.openExternalLink(social.link); + }} + accessible={false} + style={[styles.mr1, styles.mt1]} + shouldUseAutoHitSlop={false} + > + {({hovered, pressed}) => ( + )} - + ))} - + ); } diff --git a/src/pages/workspace/bills/WorkspaceBillsFirstSection.js b/src/pages/workspace/bills/WorkspaceBillsFirstSection.js index b0fc0e99c8f9..d680c3f62fa4 100644 --- a/src/pages/workspace/bills/WorkspaceBillsFirstSection.js +++ b/src/pages/workspace/bills/WorkspaceBillsFirstSection.js @@ -61,7 +61,7 @@ function WorkspaceBillsFirstSection(props) { containerStyles={[styles.cardSection]} > - + {props.translate('workspace.bills.askYourVendorsBeforeEmail')} {props.user.isFromPublicDomain ? ( Link.openExternalLink('https://community.expensify.com/discussion/7500/how-to-pay-your-company-bills-in-expensify/')}> diff --git a/src/pages/workspace/reimburse/WorkspaceReimburseView.js b/src/pages/workspace/reimburse/WorkspaceReimburseView.js index b1b802a65208..9005374826b3 100644 --- a/src/pages/workspace/reimburse/WorkspaceReimburseView.js +++ b/src/pages/workspace/reimburse/WorkspaceReimburseView.js @@ -152,7 +152,7 @@ class WorkspaceReimburseView extends React.Component { ]} > - + {this.props.translate('workspace.reimburse.captureNoVBACopyBeforeEmail')}