mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 19:47:51 +02:00
Fix NHentai source only showing first page.
This commit is contained in:
@ -94,7 +94,7 @@ class NHentai(context: Context) : HttpSource() {
|
|||||||
}
|
}
|
||||||
val numPages = res.get("num_pages")?.int
|
val numPages = res.get("num_pages")?.int
|
||||||
if(results != null && numPages != null)
|
if(results != null && numPages != null)
|
||||||
return MangasPage(results, numPages < response.request().tag() as Int)
|
return MangasPage(results, numPages > response.request().tag() as Int)
|
||||||
} else {
|
} else {
|
||||||
Timber.w("An error occurred while performing the search: $error")
|
Timber.w("An error occurred while performing the search: $error")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user