Update Torrentio.kt

This commit is contained in:
Arkai1 2025-04-10 09:41:19 +05:30 committed by GitHub
parent 235c2b3f41
commit 6a7137b1d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -310,7 +310,7 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
val aniZipResponse = json.decodeFromString<AniZipResponse>(responseString)
return when (aniZipResponse.mappings?.type) {
"TV" -> {
"TV", "ONA" -> {
aniZipResponse.episodes
?.let { episodes ->
if (preferences.getBoolean(UPCOMING_EP_KEY, UPCOMING_EP_DEFAULT)) {