Fix browse settings & infinite list

This commit is contained in:
Zoe Roux
2025-06-22 19:31:21 +02:00
parent 4d96ab5451
commit 1673da0004
12 changed files with 218 additions and 154 deletions
+1 -3
View File
@@ -80,12 +80,10 @@ export const InfiniteFetch = <Data, Props, _, Kind extends number | string>({
onEndReachedThreshold={0.5}
onRefresh={layout.layout !== "horizontal" ? refetch : undefined}
refreshing={isRefetching}
ListHeaderComponent={Header}
ItemSeparatorComponent={divider === true ? HR : (divider as any) || undefined}
ListEmptyComponent={Empty}
contentContainerStyle={{ gap, margin: gap }}
contentContainerStyle={{ gap, marginHorizontal: gap }}
{...props}
/>
);