From a8940d8cd020f718f4e3f97f84d0b1381317f6aa Mon Sep 17 00:00:00 2001 From: Canny1913 <94744045+Canny1913@users.noreply.github.com> Date: Wed, 15 Jun 2022 23:06:40 +0300 Subject: [PATCH] more comments --- .../youtube/layout/castbutton/patch/CastRemoverPatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/castbutton/patch/CastRemoverPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/castbutton/patch/CastRemoverPatch.kt index c5f229e2e..1263e2f82 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/castbutton/patch/CastRemoverPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/castbutton/patch/CastRemoverPatch.kt @@ -34,7 +34,7 @@ class CastButtonRemoverPatch : BytecodePatch( ) { override fun execute(data: BytecodeData): PatchResult { val result = signatures.first().result!! - val implementation = result.method.implementation!! + val implementation = result.method.implementation!! // stole code from shorts button since it worked pretty good implementation.addInstruction( 0, @@ -47,4 +47,4 @@ class CastButtonRemoverPatch : BytecodePatch( ) return PatchResultSuccess() } -} \ No newline at end of file +}