diff options
-rw-r--r-- | src/components/moments/MomentPost.tsx | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index 1a0dc981..c010e2cb 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -128,43 +128,7 @@ const MomentPost: React.FC<MomentPostProps> = ({ navigation.setOptions({ ...headerBarOptions('white', ''), headerTitle: () => ( - <View - style={{ - flex: 1, - width: SCREEN_WIDTH * 0.6, - flexDirection: 'row', - justifyContent: 'flex-end', - marginVertical: '2%', - }}> - <View - style={{ - width: '80%', - position: 'absolute', - left: '10%', - right: '10%', - height: normalize(70), - }}> - <Text - style={[ - { - textAlign: 'center', - color: 'white', - fontSize: normalize(18), - fontWeight: '700', - lineHeight: normalize(21.48), - letterSpacing: normalize(1.3), - }, - { - fontSize: - moment.moment_category.length > 18 - ? normalize(14) - : normalize(16), - }, - ]}> - {moment.moment_category} - </Text> - </View> - </View> + <IndividualMomentTitleBar title={moment.moment_category} /> ), }), [moment.moment_id], |