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

Commit

Permalink
fix: containsAd returning true for regular video templates
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jun 11, 2022
1 parent 8ff5f0e commit dcfcc36
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ public static boolean containsAd(String value, ByteBuffer buffer) {
"-count",
"-space",
"-button"
)) {
if (XGlobals.debug) Log.d("TemplateBlocked", value);
return true;
}
)) return false;

if (blockList.stream().anyMatch(value::contains)) {
if (XGlobals.debug) Log.d("TemplateBlocked", value);
Expand Down

0 comments on commit dcfcc36

Please sign in to comment.