diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-09 17:11:03 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-09 17:11:03 -0800 |
commit | 4b6faadd4cc0a69b0aad5b44dfe6292635b39f6b (patch) | |
tree | 959cf8d5960e20cf378bc667ffacf5527a9e3560 /src/screens/profile/EditProfile.tsx | |
parent | 7fd3d9f6c4297747512f2bea69a11268ffa35f08 (diff) |
changed insta icon + added extra prop for switch
Diffstat (limited to 'src/screens/profile/EditProfile.tsx')
-rw-r--r-- | src/screens/profile/EditProfile.tsx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/screens/profile/EditProfile.tsx b/src/screens/profile/EditProfile.tsx index 7d3ca581..56bed11f 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -38,7 +38,7 @@ import {HeaderHeight, SCREEN_HEIGHT} from '../../utils'; import {RootState} from '../../store/rootReducer'; import {useDispatch, useSelector} from 'react-redux'; import {loadUserData} from '../../store/actions'; -import {BackgroundGradientType} from '../../types'; +import {BackgroundGradientType, ScreenType} from '../../types'; import { ERROR_DOUBLE_CHECK_CONNECTION, ERROR_SOMETHING_WENT_WRONG_REFRESH, @@ -527,7 +527,11 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => { /> {snapchat !== '' && ( <View style={styles.row}> - <SocialIcon social={'Snapchat'} style={styles.icon} /> + <SocialIcon + social={'Snapchat'} + style={styles.icon} + screenType={ScreenType.Profile} + /> <View style={styles.taggInput}> <TaggInput accessibilityHint="Snapchat Username" @@ -552,7 +556,11 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => { )} {tiktok !== '' && ( <View style={styles.row}> - <SocialIcon social={'TikTok'} style={styles.icon} /> + <SocialIcon + social={'TikTok'} + style={styles.icon} + screenType={ScreenType.Profile} + /> <View style={styles.taggInput}> <TaggInput accessibilityHint="TikTok Username" |