diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-07 14:42:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 14:42:15 -0400 |
commit | 766c55c52071ecabc40aa527d6196c39eff01b5c (patch) | |
tree | 22921694ff36e40c1514f110a838febd47b9c140 /src/screens/profile/CaptionScreen.tsx | |
parent | f88193340ef5110080732d37c6a6ab69013f7b36 (diff) | |
parent | d2347eef0e22c7d47f090e6ce0a8a2c50506c894 (diff) |
Merge pull request #485 from sotech117/tma931-remove-search-on-bottom-navbar
[TMA-931] Remove Search on Bottom Navbar
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 4 |
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'} |