mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-19 10:36:50 +01:00
fix: check if filter string is empty
This commit is contained in:
parent
ee60892f7c
commit
dccf2a3e6e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user