From 45e6e165465471b7a9013388325298375bbe81e2 Mon Sep 17 00:00:00 2001 From: Luna712 <142361265+Luna712@users.noreply.github.com> Date: Mon, 2 Oct 2023 18:18:34 -0600 Subject: [PATCH] Fix variable --- .../java/com/lagradost/cloudstream3/ui/player/CS3IPlayer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/player/CS3IPlayer.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/player/CS3IPlayer.kt index 0241f028..bead5c2b 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/player/CS3IPlayer.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/player/CS3IPlayer.kt @@ -225,7 +225,7 @@ class CS3IPlayer : IPlayer { releasePlayer() if (link != null) { // only video and m3u8 support atm (DASH is untested) - val isSupportedType == link.type == ExtractorLinkType.VIDEO || link.type == ExtractorLinkType.M3U8 + val isSupportedType = link.type == ExtractorLinkType.VIDEO || link.type == ExtractorLinkType.M3U8 if (isSupportedType && preview) { val headers = if (link.referer.isBlank()) { link.headers