diff --git a/app/src/main/java/app/revanced/integrations/adremover/LithoAdRemoval.java b/app/src/main/java/app/revanced/integrations/adremover/LithoAdRemoval.java index e4cd5ac6c5..384ebe2c66 100644 --- a/app/src/main/java/app/revanced/integrations/adremover/LithoAdRemoval.java +++ b/app/src/main/java/app/revanced/integrations/adremover/LithoAdRemoval.java @@ -112,7 +112,7 @@ public static boolean containsAd(String value, ByteBuffer buffer) { bufferBlockList.add("YouTube Movies"); } - if ((value.contains("home_video_with_context") || value.contains("related_video_with_context")) && + if (containsAny(value, "home_video_with_context", "related_video_with_context") && bufferBlockList.stream().anyMatch(StandardCharsets.UTF_8.decode(buffer).toString()::contains) ) return true;