forked from organicmaps/organicmaps
[android] Changed keyboard locale on the default locale on Feature Category screen
This commit is contained in:
parent
71b89210f1
commit
0f5267127a
1 changed files with 3 additions and 3 deletions
|
@ -52,15 +52,15 @@ public class FeatureCategoryFragment extends BaseMwmRecyclerFragment<FeatureCate
|
|||
|
||||
private void setFilter(String query)
|
||||
{
|
||||
getAdapter().setCategories(query.isEmpty() ? Editor.nativeGetAllFeatureCategories(Language.getKeyboardLocale())
|
||||
: Editor.nativeSearchFeatureCategories(query, Language.getKeyboardLocale()));
|
||||
getAdapter().setCategories(query.isEmpty() ? Editor.nativeGetAllFeatureCategories(Language.getDefaultLocale())
|
||||
: Editor.nativeSearchFeatureCategories(query, Language.getDefaultLocale()));
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
protected FeatureCategoryAdapter createAdapter()
|
||||
{
|
||||
return new FeatureCategoryAdapter(this, Editor.nativeGetAllFeatureCategories(Language.getKeyboardLocale()), mSelectedCategory);
|
||||
return new FeatureCategoryAdapter(this, Editor.nativeGetAllFeatureCategories(Language.getDefaultLocale()), mSelectedCategory);
|
||||
}
|
||||
|
||||
public void selectCategory(FeatureCategory category)
|
||||
|
|
Loading…
Add table
Reference in a new issue