| 2052 | } |
| 2053 | |
| 2054 | void Framework::DeactivateHotelSearchMark() |
| 2055 | { |
| 2056 | if (!m_currentPlacePageInfo) |
| 2057 | return; |
| 2058 | |
| 2059 | m_searchMarks.SetSelected({}); |
| 2060 | if (m_currentPlacePageInfo->IsHotel()) |
| 2061 | { |
| 2062 | auto const & featureId = m_currentPlacePageInfo->GetID(); |
| 2063 | if (m_searchMarks.IsThereSearchMarkForFeature(featureId)) |
| 2064 | { |
| 2065 | m_searchMarks.SetVisited(featureId); |
| 2066 | m_searchMarks.OnDeactivate(featureId); |
| 2067 | } |
| 2068 | |
| 2069 | if (!GetSearchAPI().IsViewportSearchActive()) |
| 2070 | GetBookmarkManager().GetEditSession().ClearGroup(UserMark::Type::SEARCH); |
| 2071 | } |
| 2072 | } |
| 2073 | |
| 2074 | void Framework::OnTapEvent(place_page::BuildInfo const & buildInfo) |
| 2075 | { |
nothing calls this directly
no test coverage detected