diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-02-11 16:53:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-11 16:53:24 -0500 |
| commit | 2561d20e17a697726d6b77accf79c9da2d1f6ef6 (patch) | |
| tree | 9e2fdacee1040a9e9f975a329846dfa60cf5f3a4 /src/screens/profile | |
| parent | 3bc52c4e021199c5b546d51cd238aad9a96852a7 (diff) | |
| parent | 97e73f47622df32859964df4c94a4d419590bee2 (diff) | |
Merge pull request #237 from shravyaramesh/tma255-taggs-bar
[TMA255] Suggested People: Taggs bar
Diffstat (limited to 'src/screens/profile')
| -rw-r--r-- | src/screens/profile/EditProfile.tsx | 14 | ||||
| -rw-r--r-- | src/screens/profile/SocialMediaTaggs.tsx | 2 |
2 files changed, 12 insertions, 4 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" diff --git a/src/screens/profile/SocialMediaTaggs.tsx b/src/screens/profile/SocialMediaTaggs.tsx index 1b6bb389..45d417a6 100644 --- a/src/screens/profile/SocialMediaTaggs.tsx +++ b/src/screens/profile/SocialMediaTaggs.tsx @@ -12,7 +12,7 @@ import { } from '../../components'; import {AVATAR_GRADIENT} from '../../constants'; import {ProfileStackParams} from '../../routes'; -import {SimplePostType, TwitterPostType, SocialAccountType} from '../../types'; +import {SimplePostType, TwitterPostType, SocialAccountType, ScreenType} from '../../types'; import {AvatarHeaderHeight, SCREEN_HEIGHT} from '../../utils'; import {useSelector} from 'react-redux'; import {RootState} from '../../store/rootReducer'; |
