Hotfix to favorite name
This commit is contained in:
parent
e0951780d8
commit
c3e9ec0d17
1 changed files with 2 additions and 2 deletions
|
@ -166,8 +166,8 @@ public class FavoritesLayer extends OsmandMapLayer implements ContextMenuLayer.
|
|||
Class<? extends LocationPoint> fcl = getFavoriteClass();
|
||||
if(o!= null && fcl.isInstance(o)) {
|
||||
String desciption = ((FavouritePoint)o).getDescription() != null ?
|
||||
((FavouritePoint)o).getDescription() : "";
|
||||
return getObjName() + " : " + ((LocationPoint)o).getName(view.getContext())
|
||||
" " + ((FavouritePoint)o).getDescription() : "";
|
||||
return getObjName() + ": " + ((LocationPoint)o).getName(view.getContext())
|
||||
+ desciption; //$NON-NLS-1$
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue