Skip to content

Commit

Permalink
wip: links to privacy policy breaking, remove possibly conflicting tr…
Browse files Browse the repository at this point in the history
…ans approaches
  • Loading branch information
L03TJ3 committed Apr 30, 2024
1 parent ec5bd5a commit a7888aa
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions src/components/auth/login/SignUpScreen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React, { useContext, useEffect, useMemo } from 'react'
import { Platform, View } from 'react-native'

import { t, Trans } from '@lingui/macro'
import { t } from '@lingui/macro'
import Wrapper from '../../common/layout/Wrapper'
import Text from '../../common/view/Text'
import NavBar from '../../appNavigation/NavBar'
Expand Down Expand Up @@ -36,31 +36,30 @@ const SignupText = ({ screenProps }) => {

return (
<>
<Trans>
<Text fontSize={12} color="gray80Percent">
{t`By signing up and entering, you are accepting our`}
{`\n`}
<Text
fontSize={12}
color="gray80Percent"
fontWeight="bold"
textDecorationLine="underline"
onPress={handleNavigateTermsOfUse}
>
{t`Terms of Use`}{' '}
</Text>
{t`and`}{' '}
<Text
fontSize={12}
color="gray80Percent"
fontWeight="bold"
textDecorationLine="underline"
onPress={handleNavigatePrivacyPolicy}
>
{t`Privacy Policy`}
</Text>
{/* <Trans> */}
<Text fontSize={12} color="gray80Percent">
{t`By signing up and entering, you are accepting our `}
<Text
fontSize={12}
color="gray80Percent"
fontWeight="bold"
textDecorationLine="underline"
onPress={handleNavigateTermsOfUse}
>
{t`Terms of Use`}{' '}
</Text>
</Trans>
{t`and`}{' '}
<Text
fontSize={12}
color="gray80Percent"
fontWeight="bold"
textDecorationLine="underline"
onPress={handleNavigatePrivacyPolicy}
>
{t`Privacy Policy`}
</Text>
</Text>
{/* </Trans> */}
</>
)
}
Expand Down

0 comments on commit a7888aa

Please sign in to comment.