mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-10 23:36:48 +01:00
fix(youtube/video-ads): invert condition to hide ads
This reverts commit a32af951566a7187ae2618ef08f9298f78f8ea8c.
This commit is contained in:
parent
47ea3a3da0
commit
e353ed0b0f
@ -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-eqz v4, :show_video_ads
|
if-nez 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…
x
Reference in New Issue
Block a user