Skip to content

Commit

Permalink
fix(youtube/video-ads): invert condition to hide ads
Browse files Browse the repository at this point in the history
This reverts commit d9dcedd.
  • Loading branch information
oSumAtrIX authored Oct 10, 2022
1 parent b0d559b commit 49b4ca9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class VideoAdsPatch : BytecodePatch(
"""
invoke-static { }, Lapp/revanced/integrations/patches/VideoAdsPatch;->shouldShowAds()Z
move-result v4
if-eqz v4, :show_video_ads
if-nez v4, :show_video_ads
return-object v3
""",
listOf(ExternalLabel("show_video_ads", instruction(insertIndex)))
Expand Down

0 comments on commit 49b4ca9

Please sign in to comment.