mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-02 13:37:34 +01:00
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…
x
Reference in New Issue
Block a user