aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/UpdateRequired.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-02-09 14:06:06 -0500
committerIvan Chen <ivan@tagg.id>2021-02-09 14:06:06 -0500
commit952eb1b9b58362cc4ead737554872197ae8a89b1 (patch)
treebdfbe3f8f5376c4ee9ca124896f8618b16833de7 /src/screens/onboarding/UpdateRequired.tsx
parent55b1102ce08376a5dce6c9cd9380b13ac4bf3960 (diff)
added actual url to redirect, fixed bug for twitter handle redirect
Diffstat (limited to 'src/screens/onboarding/UpdateRequired.tsx')
-rw-r--r--src/screens/onboarding/UpdateRequired.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/screens/onboarding/UpdateRequired.tsx b/src/screens/onboarding/UpdateRequired.tsx
index 17fcc6cf..adf7ba71 100644
--- a/src/screens/onboarding/UpdateRequired.tsx
+++ b/src/screens/onboarding/UpdateRequired.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {Image, Modal, StyleSheet, View} from 'react-native';
+import {Image, Linking, Modal, StyleSheet, View} from 'react-native';
import {Text} from 'react-native-animatable';
import {CenteredView, TaggSquareButton} from '../../components';
import {normalize, SCREEN_WIDTH} from '../../utils';
@@ -24,7 +24,11 @@ const UpdateRequired: React.FC<UpdateRequiredProps> = ({visible}) => {
</Text>
<TaggSquareButton
title={'Update'}
- onPress={() => {}}
+ onPress={() => {
+ Linking.openURL(
+ 'https://apps.apple.com/us/app/tagg-discover-your-community/id1537853613',
+ );
+ }}
buttonStyle={'normal'}
buttonColor={'purple'}
labelColor={'white'}