Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit f474541

Browse files
author
epicsampler
authored
fix: logic in VideoAdsPatch (#116)
1 parent 8b2b00d commit f474541

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/app/revanced/integrations/patches/VideoAdsPatch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
public class VideoAdsPatch {
77

8-
//Used by app.revanced.patches.youtube.ad.general.video.patch.VideoAdsPatch
9-
//depends on Whitelist Patch. Still needs to be written
8+
// Used by app.revanced.patches.youtube.ad.general.video.patch.VideoAdsPatch
9+
// depends on Whitelist patch (still needs to be written)
1010
public static boolean shouldShowAds() {
11-
return SettingsEnum.VIDEO_ADS_SHOWN.getBoolean() && Whitelist.shouldShowAds();
11+
return SettingsEnum.VIDEO_ADS_SHOWN.getBoolean() || Whitelist.shouldShowAds();
1212
}
1313

1414
}

0 commit comments

Comments
 (0)