fix(youtube/video-ads): invert condition to hide ads

This reverts commit 7eb2a0b1bc.
This commit is contained in:
oSumAtrIX
2022-10-10 22:17:52 +02:00
committed by GitHub
parent 1eadafb098
commit f4897e41a9

View File

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