Fix thread view sizing

zio/stable
Paul Frazee 2022-09-29 15:17:31 -05:00
parent 11f213ad09
commit efa84fb8e7
2 changed files with 7 additions and 11 deletions

View File

@ -73,15 +73,13 @@ export const PostThread = observer(function PostThread({uri}: {uri: string}) {
<PostThreadItem item={item} onPressShare={onPressShare} /> <PostThreadItem item={item} onPressShare={onPressShare} />
) )
return ( return (
<View> <FlatList
<FlatList data={posts}
data={posts} keyExtractor={item => item._reactKey}
keyExtractor={item => item._reactKey} renderItem={renderItem}
renderItem={renderItem} refreshing={view.isRefreshing}
refreshing={view.isRefreshing} onRefresh={onRefresh}
onRefresh={onRefresh} />
/>
</View>
) )
}) })

View File

@ -27,6 +27,4 @@ Paul's todo list
- Bugs - Bugs
- Check that sub components arent reloading too much - Check that sub components arent reloading too much
- Titles are getting screwed up (possibly swipe related) - Titles are getting screwed up (possibly swipe related)
- Likes, RTs?
- Thread view sizing off
- Home feed not showing own posts - Home feed not showing own posts