1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 05:16:58 +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:
Zerrium 2021-03-21 01:15:49 +07:00 committed by GitHub
parent 8ff35ec7cd
commit d2324a7edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}