aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-02-09 17:11:03 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-02-09 17:11:03 -0800
commit4b6faadd4cc0a69b0aad5b44dfe6292635b39f6b (patch)
tree959cf8d5960e20cf378bc667ffacf5527a9e3560 /src/components/taggs
parent7fd3d9f6c4297747512f2bea69a11268ffa35f08 (diff)
changed insta icon + added extra prop for switch
Diffstat (limited to 'src/components/taggs')
-rw-r--r--src/components/taggs/SocialMediaInfo.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/taggs/SocialMediaInfo.tsx b/src/components/taggs/SocialMediaInfo.tsx
index c25d0297..46e651f9 100644
--- a/src/components/taggs/SocialMediaInfo.tsx
+++ b/src/components/taggs/SocialMediaInfo.tsx
@@ -1,5 +1,6 @@
import React from 'react';
import {StyleSheet, Text, View} from 'react-native';
+import { ScreenType } from '../../types';
import {SocialIcon} from '..';
import {handleOpenSocialUrlOnBrowser} from '../../utils';
@@ -30,7 +31,11 @@ const SocialMediaInfo: React.FC<SocialMediaInfoProps> = ({
)}
<View style={styles.row}>
<View />
- <SocialIcon style={styles.icon} social={type} />
+ <SocialIcon
+ style={styles.icon}
+ social={type}
+ screenType={ScreenType.Profile}
+ />
<Text
style={styles.name}
onPress={() => {