add privacy policy link

This commit is contained in:
ammarahm-ed
2020-04-26 20:04:01 +05:00
parent 6f58b81ae7
commit f5a121d7df

View File

@@ -6,6 +6,7 @@ import {
Modal, Modal,
Clipboard, Clipboard,
ActivityIndicator, ActivityIndicator,
Linking,
} from 'react-native'; } from 'react-native';
import {TextInput} from 'react-native-gesture-handler'; import {TextInput} from 'react-native-gesture-handler';
import QRCode from 'react-native-qrcode-generator'; import QRCode from 'react-native-qrcode-generator';
@@ -136,7 +137,7 @@ export const Signup = ({navigation}) => {
textAlign: 'center', textAlign: 'center',
color: colors.pri, color: colors.pri,
}}> }}>
Hello @ammarahmed! All your data is end-to-end encrypted. This Hello {username}! All your data is end-to-end encrypted. This
means that we cannot read your data or recover your password if means that we cannot read your data or recover your password if
you forget it.{' '} you forget it.{' '}
<Text <Text
@@ -572,6 +573,36 @@ export const Signup = ({navigation}) => {
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View
style={{
width: '100%',
alignItems: 'center',
justifyContent: 'center',
height: 150,
}}>
<TouchableOpacity
onPress={() => {
Linking.openURL('https://notesbook.com/privacy.html');
}}
activeOpacity={opacity}
style={{}}>
<Text
style={{
fontSize: SIZE.xs + 1,
fontFamily: WEIGHT.regular,
color: colors.pri,
height: 25,
}}>
By signing up you agree to our{' '}
<Text
style={{
color: colors.accent,
}}>
privacy policy
</Text>
</Text>
</TouchableOpacity>
</View>
</View> </View>
</> </>
)} )}