Update AsiaFlixProvider.kt

This commit is contained in:
Arjix 2021-08-29 19:02:39 +03:00 committed by GitHub
parent e39a291062
commit b72c91805f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ class AsiaFlixProvider : MainAPI() {
}
private fun Episodes.toTvSeriesEpisode(): TvSeriesEpisode? {
if (videoUrl?.contains("watch/null") || number == null) return null
if (videoUrl !+ null && videoUrl.contains("watch/null") || number == null) return null
return videoUrl?.let {
TvSeriesEpisode(
null,