From fbdaff34c65e47eb12bfab94f27c92af9dc59190 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Tue, 22 Mar 2022 23:41:30 -0300 Subject: [PATCH] Fix thread_post_list to display first post completely --- app/screens/thread/thread_post_list/thread_post_list.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/screens/thread/thread_post_list/thread_post_list.tsx b/app/screens/thread/thread_post_list/thread_post_list.tsx index 183203fe3..0d2a6ca4f 100644 --- a/app/screens/thread/thread_post_list/thread_post_list.tsx +++ b/app/screens/thread/thread_post_list/thread_post_list.tsx @@ -2,7 +2,7 @@ // See LICENSE.txt for license information. import React, {useMemo} from 'react'; -import {StyleSheet} from 'react-native'; +import {StyleSheet, View} from 'react-native'; import {Edge, SafeAreaView} from 'react-native-safe-area-context'; import PostList from '@components/post_list'; @@ -25,8 +25,9 @@ type Props = { const edges: Edge[] = ['bottom']; const styles = StyleSheet.create({ - container: {marginTop: 20}, + container: {marginTop: 10}, flex: {flex: 1}, + footer: {height: 20}, }); const ThreadPostList = ({ @@ -54,6 +55,7 @@ const ThreadPostList = ({ shouldShowJoinLeaveMessages={false} showMoreMessages={false} showNewMessageLine={false} + footer={} testID='thread.post_list' /> );