Skip to content

Commit

Permalink
fix: put back proper variable (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
bogadana committed Jun 25, 2022
1 parent 9d2614d commit d26c423
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit d26c423

Please sign in to comment.