From 8f3ade92c3a6bcd44994cc87a29c562c308e6159 Mon Sep 17 00:00:00 2001 From: zerrium Date: Thu, 18 Mar 2021 11:53:05 +0700 Subject: [PATCH] Updated FilterKeywords class (zerrium package) --- app/src/main/java/zerrium/FilterKeywords.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/zerrium/FilterKeywords.java b/app/src/main/java/zerrium/FilterKeywords.java index 10ee3502..3afa1ff9 100644 --- a/app/src/main/java/zerrium/FilterKeywords.java +++ b/app/src/main/java/zerrium/FilterKeywords.java @@ -20,6 +20,7 @@ public class FilterKeywords { public static boolean filter(String word){ if(word == null) return false; + word = word.toLowerCase(); for(String s:FILTER_KEYWORDS){ if(word.contains(s)) return true; }