aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorMichael <michael.foiani@gmail.com>2021-07-02 16:14:40 -0400
committerMichael <michael.foiani@gmail.com>2021-07-02 16:14:40 -0400
commitccc015351e686af23c00e8311060fb8a3477514a (patch)
tree3597708ec0ae1d37282c49ce3073ef3b3d6a5ae2 /src/screens/profile/CaptionScreen.tsx
parentc76a84a8a82dd00b826231a734c96af7e994d074 (diff)
parentd2347eef0e22c7d47f090e6ce0a8a2c50506c894 (diff)
Merge branch 'tma931-remove-search-on-bottom-navbar' into video-processing-test
Needed merge to access camera screen.
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r--src/screens/profile/CaptionScreen.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index 05db8ed7..fac00f21 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -209,9 +209,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
<Button
title="Cancel"
buttonStyle={styles.button}
- onPress={() =>
- moment ? navigation.goBack() : navigateToProfile()
- }
+ onPress={() => navigation.goBack()}
/>
<Button
title={moment ? 'Done' : 'Share'}