Fixed kuronime type

This commit is contained in:
Hexated 2022-11-25 01:16:21 +07:00 committed by GitHub
parent bbf2e244e1
commit 8e37b0081e

View file

@ -30,8 +30,8 @@ class KuronimeProvider : MainAPI() {
private const val jikanAPI = "https://api.jikan.moe/v4" private const val jikanAPI = "https://api.jikan.moe/v4"
fun getType(t: String): TvType { fun getType(t: String): TvType {
return if (t.contains("OVA") || t.contains("Special")) TvType.OVA return if (t.contains("OVA", true) || t.contains("Special", true)) TvType.OVA
else if (t.contains("Movie")) TvType.AnimeMovie else if (t.contains("Movie", true)) TvType.AnimeMovie
else TvType.Anime else TvType.Anime
} }