SUpport editing favorite
This commit is contained in:
parent
cf2eba88a8
commit
c2bf0e7fbf
2 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue