aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-07-07 17:40:16 -0400
committerBrian Kim <brian@tagg.id>2021-07-07 17:40:16 -0400
commit09fbd1fd554ecdc04376ce56ee8f4de6f8c426d3 (patch)
tree94788c5e73a3475313a0fd0d31b5d0a9ed4c4d18 /src/screens/profile/CaptionScreen.tsx
parent73a77690fa1dd0737f0226e08b19001bc0d676a3 (diff)
parent766c55c52071ecabc40aa527d6196c39eff01b5c (diff)
Merge branch 'master' into tma968-new-moment-tagging
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'}