From 32146506f139aebc44cd5faffb7706b8b9c21c3d Mon Sep 17 00:00:00 2001 From: Lucaskyy Date: Thu, 14 Apr 2022 20:00:45 +0200 Subject: [PATCH] fix: wrong opcode for `create-button-method` Added in latest(?) version of the app. --- .../app/revanced/patches/layout/CreateButtonRemoverPatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/layout/CreateButtonRemoverPatch.kt b/src/main/kotlin/app/revanced/patches/layout/CreateButtonRemoverPatch.kt index 00bd1c51..7138e6d4 100644 --- a/src/main/kotlin/app/revanced/patches/layout/CreateButtonRemoverPatch.kt +++ b/src/main/kotlin/app/revanced/patches/layout/CreateButtonRemoverPatch.kt @@ -32,7 +32,7 @@ class CreateButtonRemoverPatch : Patch( PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value. compatiblePackages, "Signature for the method required to be patched.", - "0.0.2" + "0.0.3" ), "V", AccessFlags.PUBLIC or AccessFlags.FINAL, @@ -70,7 +70,7 @@ class CreateButtonRemoverPatch : Patch( Opcode.INVOKE_VIRTUAL, Opcode.MOVE_RESULT_OBJECT, Opcode.INVOKE_STATIC, - Opcode.MOVE_OBJECT + Opcode.MOVE_RESULT_OBJECT ) ) )