Play n Dowload button fix for NS*W results.

This commit is contained in:
IndusAryan 2023-08-16 12:52:37 +05:30 committed by GitHub
parent 4e01d327c6
commit bb3b753d4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -831,7 +831,7 @@ public enum class AutoDownloadMode(val value: Int) {
// IN CASE OF FUTURE ANIME MOVIE OR SMTH
fun TvType.isMovieType(): Boolean {
return this == TvType.Movie || this == TvType.AnimeMovie || this == TvType.Torrent || this == TvType.Live
return this == TvType.Movie || this == TvType.AnimeMovie || this == TvType.Torrent || this == TvType.Live || this == TvType.NSFW
}
fun TvType.isLiveStream(): Boolean {