fix: put back proper variable (#61)

This commit is contained in:
bogadana
2022-06-25 02:15:58 +02:00
committed by GitHub
parent e101af72d4
commit 35b86c7d78

View File

@@ -54,7 +54,7 @@ class CreateButtonRemoverPatch : BytecodePatch(
// Hide the button view via proxy by passing it to the hideCreateButton method
result.method.addInstruction(
result.scanResult.endIndex + 1,
moveResultIndex + 1,
"invoke-static { v${moveResultInstruction.registerA} }, Lapp/revanced/integrations/patches/HideCreateButtonPatch;->hideCreateButton(Landroid/view/View;)V"
)