aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/profile')
-rw-r--r--src/screens/profile/EditProfile.tsx14
-rw-r--r--src/screens/profile/SocialMediaTaggs.tsx2
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';