diff options
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index fac00f21..6b647716 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -121,7 +121,13 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { } else { navigateToProfile(); setTimeout(() => { - Alert.alert(SUCCESS_PIC_UPLOAD); + if (isMediaAVideo) { + Alert.alert( + 'Beautiful, the Moment was uploaded successfully! Refresh to see it!', + ); + } else { + Alert.alert(''); + } }, 500); } }; @@ -173,7 +179,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { return; } } - dispatch(loadUserMoments(userId)); + if (!isMediaAVideo) { + dispatch(loadUserMoments(userId)); + } if (profileCompletionStage) { dispatch(updateProfileCompletionStage(profileCompletionStage)); } |