mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 19:17: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
|
||||
if(results != null && numPages != null)
|
||||
return MangasPage(results, numPages < response.request().tag() as Int)
|
||||
return MangasPage(results, numPages > response.request().tag() as Int)
|
||||
} else {
|
||||
Timber.w("An error occurred while performing the search: $error")
|
||||
}
|
||||
|
Reference in New Issue
Block a user