Update AdBlockHook.java

This commit is contained in:
gdlbo
2022-09-04 16:39:29 +03:00
parent cf4855bdd1
commit e96a3b304f
@@ -335,6 +335,10 @@ public class AdBlockHook {
id = String.valueOf(list.optInt("source_id"));
}
if (id.equals("-189659924")){
return true;
}
var whitelist = AndroidUtils.getDefaultPrefs().getStringSet("whitelisted_filters_groups", Collections.synchronizedSet(new LinkedHashSet<>()));
return whitelist.contains(id);