fix: check if filter string is empty

This commit is contained in:
oSumAtrIX 2022-11-19 23:22:34 +01:00
parent 98b31c17b9
commit 66040302a9
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -16,7 +16,7 @@ public class ReVancedUtils {
public static boolean containsAny(final String value, final String... targets) {
for (String string : targets)
if (value.contains(string)) return true;
if (!string.isEmpty() && value.contains(string)) return true;
return false;
}