From de6e16b5837df8e0dce33f31374170e433907ed2 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Tue, 12 Jan 2016 10:19:05 +0300 Subject: [PATCH] Fix - display group name Favorites at Waypoints --- OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java index b604345791..fce524441e 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java @@ -114,7 +114,7 @@ public class WaypointDialogHelper { case WaypointHelper.FAVORITES: FavouritePoint favPoint = (FavouritePoint) ps.point; - pointDescription = favPoint.getCategory(); + pointDescription = Algorithms.isEmpty(favPoint.getCategory()) ? activity.getResources().getString(R.string.shared_string_favorites) : favPoint.getCategory(); break; } }