mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-02 16:52:55 +01:00
fix: check if filter string is empty
This commit is contained in:
parent
98b31c17b9
commit
66040302a9
@ -16,7 +16,7 @@ public class ReVancedUtils {
|
|||||||
|
|
||||||
public static boolean containsAny(final String value, final String... targets) {
|
public static boolean containsAny(final String value, final String... targets) {
|
||||||
for (String string : targets)
|
for (String string : targets)
|
||||||
if (value.contains(string)) return true;
|
if (!string.isEmpty() && value.contains(string)) return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user