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
1 changed files with 1 additions and 1 deletions

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,