mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
MediaDetailFragment.java: Changed toUpperCase to toUpperCase(Locale.ROOT)
This commit is contained in:
parent
fe7d481329
commit
5caeb82478
1 changed files with 2 additions and 2 deletions
|
|
@ -605,8 +605,8 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment implements
|
||||||
// Check if the presented category is about need of category
|
// Check if the presented category is about need of category
|
||||||
if (categoriesPresent) {
|
if (categoriesPresent) {
|
||||||
for (String category : media.getCategories()) {
|
for (String category : media.getCategories()) {
|
||||||
if (category.toLowerCase().contains(CATEGORY_NEEDING_CATEGORIES) ||
|
if (category.toLowerCase(Locale.ROOT).contains(CATEGORY_NEEDING_CATEGORIES) ||
|
||||||
category.toLowerCase().contains(CATEGORY_UNCATEGORISED)) {
|
category.toLowerCase(Locale.ROOT).contains(CATEGORY_UNCATEGORISED)) {
|
||||||
categoriesPresent = false;
|
categoriesPresent = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue