From 330aebbfa0aba3bd4cc3e0b6a4714ba2f0bb7c98 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Tue, 27 Jul 2021 19:41:18 -0700 Subject: Remove comment box --- src/components/moments/MomentPost.tsx | 45 ++++++++++------------------------- 1 file changed, 13 insertions(+), 32 deletions(-) (limited to 'src') diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index 57c42654..62758865 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -260,20 +260,6 @@ const MomentPost: React.FC = ({ /> ); - const ProgressBar = () => ( - - - - ); - return ( <> @@ -374,22 +360,20 @@ const MomentPost: React.FC = ({ ), })} - { - setCommentCount(commentCount + 1); - }} - onFocus={() => { - setHideText(true); - }} - isKeyboardAvoiding={false} - theme={'dark'} - /> - {isVideo && } {getTimePosted(moment.date_created)} + {isVideo && ( + + )} @@ -409,7 +393,8 @@ const styles = StyleSheet.create({ color: 'white', fontWeight: '500', textAlign: 'right', - marginTop: 18, + marginTop: 10, + marginBottom: 10, }, captionText: { position: 'relative', @@ -516,10 +501,6 @@ const styles = StyleSheet.create({ position: 'absolute', top: -2.5, }, - progressBaContainer: { - position: 'absolute', - top: isIPhoneX() ? 75 : 70, - }, profilePreviewContainer: {paddingHorizontal: '3%'}, }); -- cgit v1.2.3-70-g09d2