diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-10-19 17:14:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 20:14:37 -0400 |
commit | 88fb33d1fe1cd0785e4a92cb3c20d0fafb2da54d (patch) | |
tree | b2e8d474b2c0b02f4e91cd33fa0d5f9842d3a018 /src/screens/profile/CaptionScreen.tsx | |
parent | 1b7fef188ec2aee0706fc1204432315db3d4fec6 (diff) |
Merged changes to make sure moments view and search work (#62)
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index d65a8451..9417d1be 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -78,7 +78,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { if (statusCode === 200 && checkImageUploadStatus(data)) { Alert.alert('The picture was uploaded successfully!'); updateMoments(true); - navigation.navigate('Profile'); + navigation.navigate('Profile', {isProfileView: false}); } else { Alert.alert('An error occured while uploading. Please try again!'); } @@ -95,7 +95,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { title="Cancel" buttonStyle={styles.button} onPress={() => { - navigation.navigate('Profile'); + navigation.navigate('Profile', {isProfileView: false}); }} /> <Button |