Fix NHentai source only showing first page.
This commit is contained in:
parent
e161e5d30d
commit
5c671de29e
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user