Skip to content

Commit

Permalink
fix: autoplay still enabled when using patch
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJeterLP committed Jul 20, 2022
1 parent 5ff9d67 commit 4f96129
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class HideAutoplayButton : BytecodePatch(
method.removeInstruction(index)
method.addInstructions(
index, """
invoke-static {}, Lapp/revanced/integrations/patches/HideAutoplayButtonPatch;->isButtonShown()Z
invoke-static {}, Lapp/revanced/integrations/patches/HideAutoplayButtonPatch;->isButtonHidden()Z
move-result v11
if-eqz v11, :hidebutton
invoke-virtual {v${insn.registerC}, v${insn.registerD}, v${insn.registerE}}, $methodToCall
Expand Down

0 comments on commit 4f96129

Please sign in to comment.