SUpport editing favorite

This commit is contained in:
Victor Shcherb 2015-04-02 00:12:39 +02:00
parent cf2eba88a8
commit c2bf0e7fbf
2 changed files with 2 additions and 0 deletions

View file

@ -245,6 +245,7 @@ public class FavoritesLayer extends OsmandMapLayer implements ContextMenuLayer.
Builder bs = new AlertDialog.Builder(view.getContext());
bs.setTitle(a.getName(view.getContext()));
bs.setMessage(a.getDescription());
bs.setPositiveButton(R.string.shared_string_ok, null);
bs.show();
}

View file

@ -309,6 +309,7 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
} else {
bs.setMessage(OsmAndFormatter.getAmenityDescriptionContent(view.getApplication(), a, false));
}
bs.setPositiveButton(R.string.shared_string_ok, null);
bs.show();
}