- fixed image path for RNTP notification
- fixed overwhelming number of promises/requests generated when scrolling through artists (could still delay loading those further...)
- fixed spinner not spinning while artistInfo is fetched for image url
This commit is contained in:
austinried
2021-08-19 14:23:09 +09:00
parent a5c2aa9cf8
commit 976cd172f4
7 changed files with 93 additions and 64 deletions

View File

@@ -57,7 +57,7 @@ const SearchResultsView: React.FC<{
}),
[fetchSearchResults, query, type],
),
50,
100,
)
useEffect(() => {
@@ -77,7 +77,8 @@ const SearchResultsView: React.FC<{
refreshing={refreshing}
overScrollMode="never"
onEndReached={fetchNextPage}
onEndReachedThreshold={1}
removeClippedSubviews={true}
onEndReachedThreshold={2}
/>
)
}