fix(video-ads): invert the condition to hide ads

This commit is contained in:
oSumAtrIX 2022-10-10 17:12:43 +02:00
parent faa36e6a01
commit a32af95156
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -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)))