Fix icons for context menu

This commit is contained in:
Alex Sytnyk 2018-05-22 16:57:50 +03:00
parent 3c1e43d1ff
commit 01a3675231
2 changed files with 9 additions and 1 deletions

View file

@ -130,6 +130,14 @@ public class AmenityMenuController extends MenuController {
return 0;
}
@Override
public int getWaypointActionIconId() {
if (marker != null) {
return R.drawable.ic_action_edit_dark;
}
return super.getWaypointActionIconId();
}
@Override
public int getWaypointActionStringId() {
if (marker != null) {

View file

@ -142,7 +142,7 @@ public class MapMarkerMenuController extends MenuController {
@Override
public int getWaypointActionIconId() {
return R.drawable.map_action_edit_dark;
return R.drawable.ic_action_edit_dark;
}
@Override