Fix replace

This commit is contained in:
Dima-1 2020-03-30 15:37:37 +03:00
parent ffb50f1c78
commit 5863d257f6

View file

@ -78,6 +78,7 @@ public class FavoriteDialogs {
}
FavouritePoint point = (FavouritePoint) args.getSerializable(KEY_FAVORITE);
if (helper.editFavourite(fp, point.getLatitude(), point.getLongitude())) {
helper.deleteFavourite(point);
if (activity instanceof MapActivity) {
((MapActivity) activity).getContextMenu()
.show(new LatLon(point.getLatitude(), point.getLongitude()), fp.getPointDescription(activity), fp);