Skip to content

Commit

Permalink
fix: check if filter string is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Nov 19, 2022
1 parent 98b31c1 commit 6604030
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6604030

Please sign in to comment.