From f47454109417d59f9fa8955b9080d8ad659926e2 Mon Sep 17 00:00:00 2001 From: epicsampler <102923070+epicsampler@users.noreply.github.com> Date: Wed, 3 Aug 2022 19:07:31 +0000 Subject: [PATCH] fix: logic in `VideoAdsPatch` (#116) --- .../app/revanced/integrations/patches/VideoAdsPatch.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/patches/VideoAdsPatch.java b/app/src/main/java/app/revanced/integrations/patches/VideoAdsPatch.java index 30cdef585b..a590c05762 100644 --- a/app/src/main/java/app/revanced/integrations/patches/VideoAdsPatch.java +++ b/app/src/main/java/app/revanced/integrations/patches/VideoAdsPatch.java @@ -5,10 +5,10 @@ public class VideoAdsPatch { - //Used by app.revanced.patches.youtube.ad.general.video.patch.VideoAdsPatch - //depends on Whitelist Patch. Still needs to be written + // Used by app.revanced.patches.youtube.ad.general.video.patch.VideoAdsPatch + // depends on Whitelist patch (still needs to be written) public static boolean shouldShowAds() { - return SettingsEnum.VIDEO_ADS_SHOWN.getBoolean() && Whitelist.shouldShowAds(); + return SettingsEnum.VIDEO_ADS_SHOWN.getBoolean() || Whitelist.shouldShowAds(); } }