Remove poi_type_tag from context menu

This commit is contained in:
Alexey Kulish 2015-11-18 18:16:33 +03:00
parent f868c183ed
commit c5cc10e77b

View file

@ -29,7 +29,12 @@ public class EditPOIMenuBuilder extends MenuBuilder {
OpenstreetmapPoint point = (OpenstreetmapPoint) osmPoint;
for (Map.Entry<String, String> e : point.getEntity().getTags().entrySet()) {
String text = e.getKey() + "=" + e.getValue();
String text;
if (EditPoiData.POI_TYPE_TAG.equals(e.getKey())) {
text = e.getValue();
} else {
text = e.getKey() + "=" + e.getValue();
}
buildRow(view, R.drawable.ic_action_info_dark, text, 0, false, 0);
}
}