mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
Update app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java
Co-authored-by: Austin Huang <im@austinhuang.me>
This commit is contained in:
parent
8ff35ec7cd
commit
d2324a7edd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user