We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076f63d commit cf37de8Copy full SHA for cf37de8
1 file changed
app/src/main/java/org/schabi/newpipe/paging/PlaylistItemsSource.kt
@@ -18,8 +18,7 @@ class PlaylistItemsSource(
18
override suspend fun load(params: LoadParams<Page>): LoadResult<Page, StreamInfoItem> {
19
return params.key?.let {
20
withContext(Dispatchers.IO) {
21
- val response = ExtractorPlaylistInfo
22
- .getMoreItems(service, playlistInfo.url, playlistInfo.nextPage)
+ val response = ExtractorPlaylistInfo.getMoreItems(service, playlistInfo.url, it)
23
LoadResult.Page(response.items, null, response.nextPage)
24
}
25
} ?: LoadResult.Page(playlistInfo.relatedItems, null, playlistInfo.nextPage)
0 commit comments