aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-08 16:18:30 -0400
committerIvan Chen <ivan@tagg.id>2021-06-08 16:18:34 -0400
commit7de499af625b28074e86854b997e66257ffab8c8 (patch)
treeb4eac41c77414e79a4d29e3dfd5507c468f0f93e /src/screens
parentbe1df6bb00e89c92da9a33d0375cfecb441d3a23 (diff)
Adjust styling
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/IndividualMoment.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx
index ba6a731c..5ac8aeab 100644
--- a/src/screens/profile/IndividualMoment.tsx
+++ b/src/screens/profile/IndividualMoment.tsx
@@ -7,7 +7,7 @@ import {useSelector} from 'react-redux';
import {IndividualMomentTitleBar, MomentPost} from '../../components';
import {MainStackParams} from '../../routes';
import {RootState} from '../../store/rootreducer';
-import {MomentPostType, MomentType} from '../../types';
+import {MomentPostType} from '../../types';
import {normalize, StatusBarHeight} from '../../utils';
/**
@@ -47,7 +47,7 @@ const IndividualMoment: React.FC<IndividualMomentProps> = ({
style={styles.contentContainer}>
<IndividualMomentTitleBar
style={styles.header}
- close={() => navigation.pop()}
+ close={() => navigation.goBack()}
title={moment_category}
/>
<FlatList