Skip to content

Commit cf37de8

Browse files
Use extracted playlist page key
1 parent 076f63d commit cf37de8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/src/main/java/org/schabi/newpipe/paging/PlaylistItemsSource.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class PlaylistItemsSource(
1818
override suspend fun load(params: LoadParams<Page>): LoadResult<Page, StreamInfoItem> {
1919
return params.key?.let {
2020
withContext(Dispatchers.IO) {
21-
val response = ExtractorPlaylistInfo
22-
.getMoreItems(service, playlistInfo.url, playlistInfo.nextPage)
21+
val response = ExtractorPlaylistInfo.getMoreItems(service, playlistInfo.url, it)
2322
LoadResult.Page(response.items, null, response.nextPage)
2423
}
2524
} ?: LoadResult.Page(playlistInfo.relatedItems, null, playlistInfo.nextPage)

0 commit comments

Comments
 (0)