aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorMichael <michael.foiani@gmail.com>2021-07-02 11:22:51 -0400
committerMichael <michael.foiani@gmail.com>2021-07-02 11:22:51 -0400
commit3e5444b37bb8dccc7405cc9aa83da64181fd4746 (patch)
treeb43de91840efa15e338847d7f7f91be37ae1dfa9 /src/screens/profile/CaptionScreen.tsx
parentfa9c527f85d23a38b45c7efc41ec4590597fa7a1 (diff)
Merge master with this brach.
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r--src/screens/profile/CaptionScreen.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index 05db8ed7..28e8808f 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -210,7 +210,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
title="Cancel"
buttonStyle={styles.button}
onPress={() =>
- moment ? navigation.goBack() : navigateToProfile()
+ // There is issue here with navigations on the commented code below
+ // moment ? navigation.goBack() : navigateToProfile()
+ navigation.goBack()
}
/>
<Button