From c805c17f4945dbebe8b9a114fd7821432ac62fe7 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:51:20 +0900 Subject: [PATCH] fix(YouTube/Video information): app crash when casting https://github.com/inotia00/ReVanced_Extended/issues/2309 --- .../patches/youtube/video/information/VideoInformationPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/video/information/VideoInformationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/video/information/VideoInformationPatch.kt index 069dafebd..df1eaa5c1 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/video/information/VideoInformationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/video/information/VideoInformationPatch.kt @@ -541,7 +541,7 @@ object VideoInformationPatch : BytecodePatch( internal fun onCreateHookMdx(targetMethodClass: String, targetMethodName: String) = mdxConstructorMethod.addInstruction( mdxConstructorInsertIndex++, - "invoke-static { }, $targetMethodClass->$targetMethodName(Ljava/lang/Object;)V" + "invoke-static { }, $targetMethodClass->$targetMethodName()V" ) /**