[search] Add kToiletsSymbol to search results

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
David Martinez 2024-01-13 15:28:06 +01:00 committed by Viktor Govako
parent 7e75c2a751
commit 1a565ef80e

View file

@ -314,6 +314,8 @@ void FillDetails(FeatureType & ft, Result::Details & details)
description.append(osm::MapObject::kFieldsSeparator).append(brand);
if (!cuisine.empty())
description.append(osm::MapObject::kFieldsSeparator).append(cuisine);
if (feature::HasToilets(typesHolder))
description.append(osm::MapObject::kFieldsSeparator).append(osm::MapObject::kToiletsSymbol);
if (!fee.empty())
description.append(osm::MapObject::kFieldsSeparator).append(fee);