From 6c75604c38fd846a52fed684bf71c8be0900705b Mon Sep 17 00:00:00 2001 From: map-per Date: Sun, 24 Aug 2025 18:18:04 +0200 Subject: [PATCH] Remove bookmark category from subtitle Signed-off-by: map-per --- libs/map/place_page_info.cpp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/libs/map/place_page_info.cpp b/libs/map/place_page_info.cpp index 2b6d417bc..5874debff 100644 --- a/libs/map/place_page_info.cpp +++ b/libs/map/place_page_info.cpp @@ -117,13 +117,6 @@ std::string Info::FormatSubtitle(bool withTypes, bool withMainType) const result += sv; }; -/// @todo(KK): Remove, when the category name will be displayed in the "Edit cell" on the Place Page on the specific -/// platform. -#if !defined(TARGET_OS_IPHONE) - if (IsBookmark()) - append(m_bookmarkCategoryName); -#endif - if (!withTypes) return result; @@ -239,11 +232,7 @@ void Info::SetTitlesForBookmark() m_uiTitle = GetBookmarkName(); std::vector subtitle; -/// @todo(KK): Remove, when the category name will be displayed in the "edit" of the cell on the Place Page on the -/// specific platform. -#if !defined(TARGET_OS_IPHONE) - subtitle.push_back(m_bookmarkCategoryName); -#endif + if (!m_bookmarkData.m_featureTypes.empty()) subtitle.push_back(GetLocalizedFeatureType(m_bookmarkData.m_featureTypes)); m_uiSubtitle = strings::JoinStrings(subtitle, feature::kFieldsSeparator); @@ -262,11 +251,6 @@ void Info::SetCustomName(std::string const & name) void Info::SetTitlesForTrack(Track const & track) { m_uiTitle = track.GetName(); -/// @todo(KK): Remove, when the category name will be displayed in the "Edit cell" on the Place Page on the specific -/// platform. -#if !defined(TARGET_OS_IPHONE) - m_uiSubtitle = m_bookmarkCategoryName; -#endif std::vector statistics; auto const length = track.GetLengthMeters();