From b72c91805feaed83ed12cab447d75f13d350dd89 Mon Sep 17 00:00:00 2001 From: Arjix <53124886+ArjixWasTaken@users.noreply.github.com> Date: Sun, 29 Aug 2021 19:02:39 +0300 Subject: [PATCH] Update AsiaFlixProvider.kt --- .../lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt index 54741f59..80aadd96 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt @@ -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,