aboutsummaryrefslogtreecommitdiff
path: root/src/components/onboarding/TermsAndConditionsText.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2021-01-12 13:35:33 -0800
committerGitHub <noreply@github.com>2021-01-12 16:35:33 -0500
commitc758389ad2ebe98196d4618ec08dbf2b24d95bfa (patch)
tree1db37ccbe08d65dc689e0e9fd733aaf711681431 /src/components/onboarding/TermsAndConditionsText.tsx
parent251c44edf33dd303ad5255cca95174eb72428543 (diff)
[TMA 472] Added option to be added to Taggs wait list (#168)
* Added screens to add to waitlist and a page to display on success of the same * Incorporated small comment
Diffstat (limited to 'src/components/onboarding/TermsAndConditionsText.tsx')
-rw-r--r--src/components/onboarding/TermsAndConditionsText.tsx13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/components/onboarding/TermsAndConditionsText.tsx b/src/components/onboarding/TermsAndConditionsText.tsx
index 39450667..2102d613 100644
--- a/src/components/onboarding/TermsAndConditionsText.tsx
+++ b/src/components/onboarding/TermsAndConditionsText.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
-import {StyleSheet, Text} from 'react-native';
+import {Linking, StyleSheet, Text} from 'react-native';
+import {TAGG_WEBSITE} from '../../constants';
const TermsAndConditionsText: React.FC = () => {
const textWithBulletPoint = (data: string, style: object) => {
@@ -550,8 +551,14 @@ const TermsAndConditionsText: React.FC = () => {
By email: <Text style={styles.link}>support@tagg.id</Text>
</Text>
<Text style={styles.paraLeftAlign}>
- By visiting this page on our website:{' '}
- <Text style={styles.link}>https://www.tagg.id/</Text>
+ By visiting this page on our{' '}
+ <Text
+ style={styles.link}
+ onPress={() => {
+ Linking.openURL(TAGG_WEBSITE + 'terms-and-conditions/');
+ }}>
+ website
+ </Text>
</Text>
</React.Fragment>
);