From 9cf1550b017aa95e48acd2ce75457a4ed1c02d2c Mon Sep 17 00:00:00 2001 From: miroslav Date: Thu, 3 Nov 2022 17:59:29 +0100 Subject: [PATCH] =?UTF-8?q?fix=20URL=20address=20popup=20won=E2=80=99t=20s?= =?UTF-8?q?how=20when=20hovered=20on=20terms/privacy=20links=20on=20about?= =?UTF-8?q?=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/settings/AboutPage/AboutPage.js | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/pages/settings/AboutPage/AboutPage.js b/src/pages/settings/AboutPage/AboutPage.js index ad4f0aeddd51..3ac1564a61f9 100644 --- a/src/pages/settings/AboutPage/AboutPage.js +++ b/src/pages/settings/AboutPage/AboutPage.js @@ -6,6 +6,7 @@ import Navigation from '../../../libs/Navigation/Navigation'; import ROUTES from '../../../ROUTES'; import styles from '../../../styles/styles'; import Text from '../../../components/Text'; +import TextLink from '../../../components/TextLink'; import CONST from '../../../CONST'; import * as Expensicons from '../../../components/Icon/Expensicons'; import ScreenWrapper from '../../../components/ScreenWrapper'; @@ -116,29 +117,21 @@ const AboutPage = (props) => { 'initialSettingsPage.readTheTermsAndPrivacyPolicy.phrase1', )} {' '} - Link.openExternalLink(CONST.TERMS_URL)} - > + {props.translate( 'initialSettingsPage.readTheTermsAndPrivacyPolicy.phrase2', )} - + {' '} {props.translate( 'initialSettingsPage.readTheTermsAndPrivacyPolicy.phrase3', )} {' '} - Link.openExternalLink(CONST.PRIVACY_URL)} - > + {props.translate( 'initialSettingsPage.readTheTermsAndPrivacyPolicy.phrase4', )} - + .