Fix - display group name Favorites at Waypoints

This commit is contained in:
Alexey Kulish 2016-01-12 10:19:05 +03:00
parent 41a57518c1
commit de6e16b583

View file

@ -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;
}
}