mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-07-31 16:49:28 +00:00
fix: correct nextSkip calculation in fetchCatalogPage function
This commit is contained in:
parent
f01aa05f7b
commit
c2da108848
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ suspend fun fetchCatalogPage(
|
|||
maxItems = maxItems,
|
||||
)
|
||||
val nextSkip = if (parsed.rawItemCount > 0) {
|
||||
(skip ?: 0) + CATALOG_PAGE_SIZE
|
||||
(skip ?: 0) + parsed.rawItemCount
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue