mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-05 02:19:55 -06:00
Adjust Infinite Scrolling in Library (#438)
Fix `onEndReachedThreshold` in library Flashlists
This commit is contained in:
@@ -82,7 +82,6 @@ export default function Albums({
|
||||
: item.Id!
|
||||
}
|
||||
estimatedItemSize={itemHeight}
|
||||
onEndReachedThreshold={0.25}
|
||||
removeClippedSubviews
|
||||
/>
|
||||
</XStack>
|
||||
|
||||
@@ -134,7 +134,6 @@ export default function Artists({
|
||||
onEndReached={() => {
|
||||
if (hasNextPage) fetchNextPage()
|
||||
}}
|
||||
onEndReachedThreshold={0.8}
|
||||
removeClippedSubviews={false}
|
||||
/>
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@ export default function Tracks({
|
||||
onEndReached={() => {
|
||||
if (hasNextPage) fetchNextPage()
|
||||
}}
|
||||
onEndReachedThreshold={0.0}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user