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 +}