From 4b6faadd4cc0a69b0aad5b44dfe6292635b39f6b Mon Sep 17 00:00:00 2001
From: Shravya Ramesh <shravs1208@gmail.com>
Date: Tue, 9 Feb 2021 17:11:03 -0800
Subject: changed insta icon + added extra prop for switch

---
 src/components/onboarding/LinkSocialMedia.tsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/components/onboarding/LinkSocialMedia.tsx')

diff --git a/src/components/onboarding/LinkSocialMedia.tsx b/src/components/onboarding/LinkSocialMedia.tsx
index 8938b9a0..f3915752 100644
--- a/src/components/onboarding/LinkSocialMedia.tsx
+++ b/src/components/onboarding/LinkSocialMedia.tsx
@@ -18,7 +18,7 @@ import {
   handlePressForAuthBrowser,
   registerNonIntegratedSocialLink,
 } from '../../services';
-import {LinkerType} from '../../types';
+import {LinkerType, ScreenType} from '../../types';
 import SocialIcon from '../common/SocialIcon';
 
 interface SocialMediaLinkerProps extends TouchableOpacityProps {
@@ -91,7 +91,11 @@ const SocialMediaLinker: React.FC<SocialMediaLinkerProps> = ({
       activeOpacity={0.7}
       onPress={modelOrAuthBrowser}
       style={styles.container}>
-      <SocialIcon social={label} style={styles.icon} />
+      <SocialIcon
+        social={label}
+        style={styles.icon}
+        screenType={ScreenType.Profile}
+      />
       <Text style={[styles.label, {color: font_color}]}>{label}</Text>
       {authenticated && (
         <Image
-- 
cgit v1.2.3-70-g09d2

