diff --git a/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java b/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java index 77e5bb35f7..2a3ddec71f 100644 --- a/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java @@ -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(); } diff --git a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java index fcb3dd7509..95439ae66c 100644 --- a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java @@ -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(); }