From d2324a7eddec1f086251e2fc3b3b6d844ed6b166 Mon Sep 17 00:00:00 2001 From: Zerrium <58355441+zerrium@users.noreply.github.com> Date: Sun, 21 Mar 2021 01:15:49 +0700 Subject: [PATCH] Update app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java Co-authored-by: Austin Huang --- .../main/java/awais/instagrabber/utils/KeywordsFilterUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java b/app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java index 27d0ff68..9e94fbea 100644 --- a/app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java +++ b/app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java @@ -30,7 +30,7 @@ public final class KeywordsFilterUtils { final Caption c = media.getCaption(); if(c == null) return false; if(keywords.isEmpty()) return false; - final String temp = c.getText().toLowerCase(LocaleUtils.getCurrentLocale()); + final String temp = c.getText().toLowerCase(); for(final String s:keywords){ if(temp.contains(s)) return true; }