aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-08-05 08:12:59 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-08-05 08:12:59 -0700
commitdc16576e4a25486500046e1b10e190f2516dc0ee (patch)
treee9ed72e634e848d2b30819f59d2de091807f1438 /src/screens/profile/CaptionScreen.tsx
parent452f3fb44838c367f40e8aa57db2e274a357afd2 (diff)
Revamp category selection
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 d329c589..fc4db950 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -292,7 +292,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
text={'Category'}
imageUri={require('../../assets/images/images.png')}
onPress={() =>
- navigation.navigate('ChoosingCategoryScreen', {})
+ navigation.navigate('ChoosingCategoryScreen', {
+ newCustomCategory: momentCategory,
+ })
}
/>
),