forked from AlmightyHak/extensions-source
Update Torrentio.kt
This commit is contained in:
parent
07b096361a
commit
a099d6abcf
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||||
val aniZipResponse = json.decodeFromString<AniZipResponse>(responseString)
|
val aniZipResponse = json.decodeFromString<AniZipResponse>(responseString)
|
||||||
|
|
||||||
return when (aniZipResponse.mappings?.type) {
|
return when (aniZipResponse.mappings?.type) {
|
||||||
"TV", "ONA" -> {
|
"TV", "ONA", "OVA" -> {
|
||||||
aniZipResponse.episodes
|
aniZipResponse.episodes
|
||||||
?.let { episodes ->
|
?.let { episodes ->
|
||||||
if (preferences.getBoolean(UPCOMING_EP_KEY, UPCOMING_EP_DEFAULT)) {
|
if (preferences.getBoolean(UPCOMING_EP_KEY, UPCOMING_EP_DEFAULT)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue