refactor: integrations (#44)

This commit is contained in:
Joey Peter
2022-06-24 00:17:49 +02:00
committed by GitHub
parent d5597fb002
commit ccf0218b6c
12 changed files with 18 additions and 19 deletions
@@ -54,8 +54,8 @@ class CreateButtonRemoverPatch : BytecodePatch(
// Hide the button view via proxy by passing it to the hideCreateButton method
result.method.addInstruction(
moveResultIndex + 1,
"invoke-static { v${moveResultInstruction.registerA} }, Lfi/razerman/youtube/XAdRemover;->hideCreateButton(Landroid/view/View;)V"
result.scanResult.endIndex + 1,
"invoke-static { v$moveResultInstruction.registerA }, Lapp/revanced/integrations/patches/HideCreateButtonPatch;->hideCreateButton(Landroid/view/View;)V"
)
return PatchResultSuccess()