add padding to top of lists

This commit is contained in:
Hailey
2024-06-11 14:43:22 -07:00
parent db30c93e05
commit 1371075dc3
2 changed files with 2 additions and 0 deletions
@@ -74,6 +74,7 @@ export function StepFeeds() {
data={filterFeeds(query ? searchedFeeds : popularFeeds)}
renderItem={renderItem}
keyExtractor={keyExtractor}
contentContainerStyle={{paddingTop: 8}}
onEndReached={!query ? () => fetchNextPage() : undefined}
onEndReachedThreshold={2}
renderScrollComponent={props => <KeyboardAwareScrollView {...props} />}
@@ -59,6 +59,7 @@ export function StepProfiles() {
data={query ? results : follows}
renderItem={renderItem}
keyExtractor={keyExtractor}
contentContainerStyle={{paddingTop: 8}}
onEndReached={!query ? () => fetchNextPage() : undefined}
onEndReachedThreshold={2}
renderScrollComponent={props => <KeyboardAwareScrollView {...props} />}