Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2017-06-23 18:31:07 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2017-06-23 18:37:39 +0300
commit6f3447e35cd5eebca7c6a4c8c2f3dea0be228f16 (patch)
treee02152688e8405460633fa849532f03fcd7531bd
parent2e71cb3a1d36e6247882963866337dc7b484471e (diff)
Added wheelchair sybmol into place page subtitle.beta-877beta-876
-rw-r--r--map/place_page_info.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/place_page_info.cpp b/map/place_page_info.cpp
index fc97d0fc88..5f3731e4b4 100644
--- a/map/place_page_info.cpp
+++ b/map/place_page_info.cpp
@@ -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);
}