diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java index 7d8e4541f6..4b5794465f 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java @@ -194,9 +194,8 @@ public class AmenityMenuController extends MenuController { if (addTypes != null) { String region = addTypes.get("subway_region"); if (region != null) { - region = "subway_" + region; + return RenderingIcons.getBigIcon(getMapActivity(), "subway_" + region); } - return RenderingIcons.getBigIcon(getMapActivity(), region); } return null; }