From 788714148b3fa76e2fecbfd8700d540c0e26aebe Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Tue, 24 Mar 2020 14:46:47 +0300 Subject: [PATCH] [core] small fix for download on map banner --- map/download_on_map_ads_delegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/download_on_map_ads_delegate.cpp b/map/download_on_map_ads_delegate.cpp index d86e33d69c..1ee6c5ed71 100644 --- a/map/download_on_map_ads_delegate.cpp +++ b/map/download_on_map_ads_delegate.cpp @@ -34,7 +34,7 @@ std::string DownloadOnMapDelegate::GetLinkForCountryId(storage::CountryId const auto const cityGeoId = strings::to_string(it->second.GetEncodedId()); - if (!cityGeoId.empty()) + if (cityGeoId.empty()) return {}; return m_promoApi.GetLinkForDownloader(countryId);