mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-06 09:34:37 +02:00
fix(youtube/video-ads): invert condition to hide ads
This reverts commit d9dcedd9f467bb8eca7c7494e08c6b924a58208d.
This commit is contained in:
parent
b0d559bff5
commit
49b4ca9fd2
@ -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