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
|
//force disable autoplay since it's hard to do without the button
|
||||||
autonavInformerMethod.addInstructions(
|
autonavInformerMethod.addInstructions(
|
||||||
0, """
|
0, """
|
||||||
invoke-static {}, Lapp/revanced/integrations/patches/HideAutoplayButtonPatch;->isButtonHidden()Z
|
invoke-static {}, Lapp/revanced/integrations/patches/HideAutoplayButtonPatch;->isButtonShown()Z
|
||||||
move-result v0
|
move-result v0
|
||||||
if-eqz v0, :hidden
|
if-nez v0, :hidden
|
||||||
const/4 v0, 0x0
|
const/4 v0, 0x0
|
||||||
return v0
|
return v0
|
||||||
:hidden
|
:hidden
|
||||||
|
|
Loading…
Reference in a new issue