From 3eaf591d5622152071f0ca5a056a8a59f4570b60 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 9 Nov 2015 17:09:41 +0100 Subject: [PATCH] Update ConfigureMapMenu.java --- OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 39649eaff6..2a15f7a8db 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -413,7 +413,7 @@ public class ConfigureMapMenu { String[] translates = new String[mapNamesIds.length]; translates[0] = ctx.getString(R.string.local_map_names); 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;