From e4940488606f51db65590f1de24e1ac859f01774 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 13 Jan 2019 15:59:07 +0100 Subject: [PATCH] Fix string error --- .../osmand/plus/OsmAndCustomizationConstants.java | 14 +++++++------- .../osmand/plus/activities/MapActivityActions.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmAndCustomizationConstants.java b/OsmAnd/src/net/osmand/plus/OsmAndCustomizationConstants.java index 7eb8228a1c..2a129cb8d6 100644 --- a/OsmAnd/src/net/osmand/plus/OsmAndCustomizationConstants.java +++ b/OsmAnd/src/net/osmand/plus/OsmAndCustomizationConstants.java @@ -80,13 +80,13 @@ public interface OsmAndCustomizationConstants { String POINT_MEASURE_DISTANCE = POINTS_ACTION_MENU + "measure_distance"; String POINT_EDIT_GPX_WP = POINTS_ACTION_MENU + "edit_gpx_waypoint"; String POINT_ADD_GPX_WAYPOINT = POINTS_ACTION_MENU + "add_gpx_waypoint"; - String POINT_UPDATE_MAP = POINTS_ACTION_MENU + "update_map"; - String POINT_DOWNLOAD_MAP = POINTS_ACTION_MENU + "download_map"; - String POINT_MODIFY_POI = POINTS_ACTION_MENU + "modify_poi"; - String POINT_MODIFY_OSM_CHANGE = POINTS_ACTION_MENU + "modify_osm_change"; - String POINT_CREATE_POI = POINTS_ACTION_MENU + "create_poi"; - String POINT_MODIFY_OSM_NOTE = POINTS_ACTION_MENU + "modify_osm_note"; - String POINT_OPEN_OSM_NOTE = POINTS_ACTION_MENU + "open_osm_note"; + String POINT_UPDATE_MAP = POINTS_ACTION_MENU + "update_map"; + String POINT_DOWNLOAD_MAP = POINTS_ACTION_MENU + "download_map"; + String POINT_MODIFY_POI = POINTS_ACTION_MENU + "modify_poi"; + String POINT_MODIFY_OSM_CHANGE = POINTS_ACTION_MENU + "modify_osm_change"; + String POINT_CREATE_POI = POINTS_ACTION_MENU + "create_poi"; + String POINT_MODIFY_OSM_NOTE = POINTS_ACTION_MENU + "modify_osm_note"; + String POINT_OPEN_OSM_NOTE = POINTS_ACTION_MENU + "open_osm_note"; } diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index 65b9a055e8..17419e6ed4 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -361,7 +361,7 @@ public class MapActivityActions implements DialogProvider { || (OsmandPlugin.getEnabledPlugin(OsmandMonitoringPlugin.class) != null)) { adapter.addItem(new ContextMenuItem.ItemBuilder() .setTitleId(R.string.context_menu_item_add_waypoint, mapActivity) - .setTitle(POINT_ADD_GPX_WAYPOINT) + .setId(POINT_ADD_GPX_WAYPOINT) .setIcon(R.drawable.ic_action_gnew_label_dark) .setOrder(ADD_GPX_WAYPOINT_ITEM_ORDER) .setListener(listener).createItem());