mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-07 10:35:49 +01:00
fix: containsAd
returning true for regular video templates
This commit is contained in:
parent
8ff5f0e68d
commit
dcfcc36fb8
@ -164,10 +164,7 @@ public class LithoAdRemoval {
|
|||||||
"-count",
|
"-count",
|
||||||
"-space",
|
"-space",
|
||||||
"-button"
|
"-button"
|
||||||
)) {
|
)) return false;
|
||||||
if (XGlobals.debug) Log.d("TemplateBlocked", value);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (blockList.stream().anyMatch(value::contains)) {
|
if (blockList.stream().anyMatch(value::contains)) {
|
||||||
if (XGlobals.debug) Log.d("TemplateBlocked", value);
|
if (XGlobals.debug) Log.d("TemplateBlocked", value);
|
||||||
|
Loading…
Reference in New Issue
Block a user