From 8db6bb836d540cf449d0f4e810dcf51ea29646b8 Mon Sep 17 00:00:00 2001 From: Luna712 <142361265+Luna712@users.noreply.github.com> Date: Sun, 31 May 2026 16:29:21 -0600 Subject: [PATCH] Fix one instance of String(byteArray) I previously missed --- .../com/lagradost/cloudstream3/extractors/Mvidoo.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/library/src/commonMain/kotlin/com/lagradost/cloudstream3/extractors/Mvidoo.kt b/library/src/commonMain/kotlin/com/lagradost/cloudstream3/extractors/Mvidoo.kt index 76f14d33bc8..84b8187237d 100644 --- a/library/src/commonMain/kotlin/com/lagradost/cloudstream3/extractors/Mvidoo.kt +++ b/library/src/commonMain/kotlin/com/lagradost/cloudstream3/extractors/Mvidoo.kt @@ -14,11 +14,10 @@ open class Mvidoo : ExtractorApi() { private fun String.decodeHex(): String { require(length % 2 == 0) { "Must have an even length" } - return String( - chunked(2) - .map { it.toInt(16).toByte() } - .toByteArray() - ) + return chunked(2) + .map { it.toInt(16).toByte() } + .toByteArray() + .decodeToString() } override suspend fun getUrl(