Skip to content

Commit

Permalink
fix(video-ads): invert the condition to hide ads
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Oct 10, 2022
1 parent 309b07a commit d9dcedd
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-nez v4, :show_video_ads
if-eqz v4, :show_video_ads
return-object v3
""",
listOf(ExternalLabel("show_video_ads", instruction(insertIndex)))
Expand Down

0 comments on commit d9dcedd

Please sign in to comment.