diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-11 16:49:31 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-11 16:49:31 -0500 |
commit | 97e73f47622df32859964df4c94a4d419590bee2 (patch) | |
tree | 9e2fdacee1040a9e9f975a329846dfa60cf5f3a4 /src/components/taggs/TwitterTaggPost.tsx | |
parent | dc2da789ed0f440e0da8020f891bb490536a38fe (diff) | |
parent | 3bc52c4e021199c5b546d51cd238aad9a96852a7 (diff) |
Merge branch 'master' into tma255-taggs-bar
# Conflicts:
# src/components/common/SocialLinkModal.tsx
Diffstat (limited to 'src/components/taggs/TwitterTaggPost.tsx')
-rw-r--r-- | src/components/taggs/TwitterTaggPost.tsx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/components/taggs/TwitterTaggPost.tsx b/src/components/taggs/TwitterTaggPost.tsx index 0cfde857..834e32ef 100644 --- a/src/components/taggs/TwitterTaggPost.tsx +++ b/src/components/taggs/TwitterTaggPost.tsx @@ -3,11 +3,7 @@ import {Image, Linking, StyleSheet, View} from 'react-native'; import {Text} from 'react-native-animatable'; import Hyperlink from 'react-native-hyperlink'; import LinearGradient from 'react-native-linear-gradient'; -import { - AVATAR_DIM, - TAGGS_GRADIENT, - TAGG_LIGHT_BLUE, -} from '../../constants'; +import {AVATAR_DIM, TAGGS_GRADIENT, TAGG_LIGHT_BLUE} from '../../constants'; import {TwitterPostType} from '../../types'; import {handleOpenSocialUrlOnBrowser, SCREEN_WIDTH} from '../../utils'; import {DateLabel, PostCarousel} from '../common'; @@ -94,7 +90,10 @@ const TwitterTaggPost: React.FC<TwitterTaggPostProps> = ({ <Text style={styles.replyHandleText} onPress={() => - openTwitterProfileLink(post.in_reply_to?.handle) + handleOpenSocialUrlOnBrowser( + post.in_reply_to?.handle, + 'Twitter', + ) }> @{post.in_reply_to.handle} </Text> |