1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-26 08:37:29 +00:00

Updated FilterKeywords class (zerrium package)

This commit is contained in:
zerrium 2021-03-18 11:53:05 +07:00
parent 110db39ff6
commit 8f3ade92c3

View File

@ -20,6 +20,7 @@ public class FilterKeywords {
public static boolean filter(String word){ public static boolean filter(String word){
if(word == null) return false; if(word == null) return false;
word = word.toLowerCase();
for(String s:FILTER_KEYWORDS){ for(String s:FILTER_KEYWORDS){
if(word.contains(s)) return true; if(word.contains(s)) return true;
} }