diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 62d2a4c7..484070d2 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -140,8 +140,11 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { } }, 500); } else { - // if editing, simply go back to (most likely) indiv moment - navigation.goBack(); + // if editing, simply go back to profile screen + navigation.navigate('Profile', { + userXId: undefined, + screenType: route.params.screenType, + }); } }; |