Added wheelchair sybmol into place page subtitle.

This commit is contained in:
VladiMihaylenko 2017-06-23 18:31:07 +03:00 committed by Arsentiy Milchakov
parent 2e71cb3a1d
commit 6f3447e35c

View file

@ -18,6 +18,7 @@ char const * const Info::kStarSymbol = "★";
char const * const Info::kMountainSymbol = "";
char const * const Info::kEmptyRatingSymbol = "-";
char const * const Info::kPricingSymbol = "$";
char const * const kWheelchairSymbol = u8"\u267F";
bool Info::IsFeature() const { return m_featureID.IsValid(); }
bool Info::IsBookmark() const { return m_bac.IsValid(); }
@ -130,6 +131,10 @@ string Info::GetSubtitle() const
if (HasWifi())
values.push_back(m_localizedWifiString);
// Wheelchair
if (GetWheelchairType() == wheelchair::Type::Yes)
values.push_back(kWheelchairSymbol);
return strings::JoinStrings(values, kSubtitleSeparator);
}