Update ConfigureMapMenu.java
This commit is contained in:
parent
9ac55fa12b
commit
3eaf591d56
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ public class ConfigureMapMenu {
|
||||||
String[] translates = new String[mapNamesIds.length];
|
String[] translates = new String[mapNamesIds.length];
|
||||||
translates[0] = ctx.getString(R.string.local_map_names);
|
translates[0] = ctx.getString(R.string.local_map_names);
|
||||||
for(int i = 1; i < translates.length; i++) {
|
for(int i = 1; i < translates.length; i++) {
|
||||||
translates[i] = ((OsmandApplication)ctx.getApplication()).getLangTranslation(mapNamesIds[i]);
|
translates[i] = ((OsmandApplication)ctx.getApplicationContext()).getLangTranslation(mapNamesIds[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return translates;
|
return translates;
|
||||||
|
|
Loading…
Reference in a new issue