From 8936c8aaedb56817cda5eec5f4a8c32f433862aa Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 24 Jun 2022 00:56:29 +0200 Subject: [PATCH] fix: missing brackets at inlining --- .../layout/createbutton/patch/CreateButtonRemoverPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/patch/CreateButtonRemoverPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/patch/CreateButtonRemoverPatch.kt index a0e2ee8bc..5e1261434 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/patch/CreateButtonRemoverPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/patch/CreateButtonRemoverPatch.kt @@ -55,7 +55,7 @@ class CreateButtonRemoverPatch : BytecodePatch( // Hide the button view via proxy by passing it to the hideCreateButton method result.method.addInstruction( result.scanResult.endIndex + 1, - "invoke-static { v$moveResultInstruction.registerA }, Lapp/revanced/integrations/patches/HideCreateButtonPatch;->hideCreateButton(Landroid/view/View;)V" + "invoke-static { v${moveResultInstruction.registerA} }, Lapp/revanced/integrations/patches/HideCreateButtonPatch;->hideCreateButton(Landroid/view/View;)V" ) return PatchResultSuccess()