refactor: cleanup code
This commit is contained in:
parent
78dcfb92b4
commit
7b70b8555b
|
@ -54,9 +54,9 @@ class HideAutoplayButton : BytecodePatch(
|
|||
//force disable autoplay since it's hard to do without the button
|
||||
autonavInformerMethod.addInstructions(
|
||||
0, """
|
||||
invoke-static {}, Lapp/revanced/integrations/patches/HideAutoplayButtonPatch;->isButtonHidden()Z
|
||||
invoke-static {}, Lapp/revanced/integrations/patches/HideAutoplayButtonPatch;->isButtonShown()Z
|
||||
move-result v0
|
||||
if-eqz v0, :hidden
|
||||
if-nez v0, :hidden
|
||||
const/4 v0, 0x0
|
||||
return v0
|
||||
:hidden
|
||||
|
|
Loading…
Reference in a new issue