mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-24 04:25:56 +01:00
fix: autoplay still enabled when using patch
This commit is contained in:
parent
5ff9d67e9d
commit
4f961298f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user