fix(video-ads): invert the condition to hide ads
This commit is contained in:
parent
c7c27f75fd
commit
ac66364ccf
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class VideoAdsPatch : BytecodePatch(
|
||||||
"""
|
"""
|
||||||
invoke-static { }, Lapp/revanced/integrations/patches/VideoAdsPatch;->shouldShowAds()Z
|
invoke-static { }, Lapp/revanced/integrations/patches/VideoAdsPatch;->shouldShowAds()Z
|
||||||
move-result v4
|
move-result v4
|
||||||
if-nez v4, :show_video_ads
|
if-eqz v4, :show_video_ads
|
||||||
return-object v3
|
return-object v3
|
||||||
""",
|
""",
|
||||||
listOf(ExternalLabel("show_video_ads", instruction(insertIndex)))
|
listOf(ExternalLabel("show_video_ads", instruction(insertIndex)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue