diff --git a/android/jni/com/mapswithme/maps/promo/Promo.cpp b/android/jni/com/mapswithme/maps/promo/Promo.cpp index b2e58ee76b..4a7a8112bc 100644 --- a/android/jni/com/mapswithme/maps/promo/Promo.cpp +++ b/android/jni/com/mapswithme/maps/promo/Promo.cpp @@ -145,9 +145,9 @@ Java_com_mapswithme_maps_promo_Promo_nativeRequestCityGallery(JNIEnv * env, jcla JNIEXPORT void JNICALL Java_com_mapswithme_maps_promo_Promo_nativeRequestPoiGallery(JNIEnv * env, jclass, - jobject policy, jdouble lat, - jdouble lon, jobjectArray tags, - jint utm) + jobject policy, jdouble lat, + jdouble lon, jobjectArray tags, + jint utm) { PrepareClassRefs(env); auto const point = MercatorBounds::FromLatLon(static_cast(lat), static_cast(lon)); diff --git a/map/framework.cpp b/map/framework.cpp index 8a6dd699b1..ca58fb6ebf 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1000,7 +1000,7 @@ void Framework::FillInfoFromFeatureType(FeatureType & ft, place_page::Info & inf } else if (ftypes::IsPromoCatalogPoiChecker::Instance()(ft)) { - info.SetOpeningMode(m_routingManager.IsRoutingActive() + info.SetOpeningMode(m_routingManager.IsRoutingActive() || !GetPlatform().IsConnected() ? place_page::OpeningMode::Preview : place_page::OpeningMode::PreviewPlus); info.SetSponsoredType(SponsoredType::PromoCatalogPoi);