2dgirls: fix hasNextpage
This commit is contained in:
@ -5,7 +5,7 @@ ext {
|
||||
extName = '2dgirls.tech'
|
||||
pkgNameSuffix = 'en.twodgirlstech'
|
||||
extClass = '.TwoDGirlsTech'
|
||||
extVersionCode = 7
|
||||
extVersionCode = 8
|
||||
libVersion = '10'
|
||||
}
|
||||
dependencies {
|
||||
|
@ -123,7 +123,7 @@ class TwoDGirlsTech : ParsedAnimeHttpSource() {
|
||||
anime.setUrlWithoutDomain("/api/detailshtml/" + jsonObjectDetail.getString("id"))
|
||||
arrayListDetails.add(anime)
|
||||
}
|
||||
hasNextPage = (arrayListDetails.isNotEmpty())
|
||||
hasNextPage = json.getBoolean("nextpage")
|
||||
continuation.resume(AnimesPage(arrayListDetails, hasNextPage))
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user