forked from organicmaps/organicmaps
[new downloader][android] fix: Do not show downloading maps in "Near me" section.
This commit is contained in:
parent
b8367ec73f
commit
9c539becfb
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ Java_com_mapswithme_maps_downloader_MapManager_nativeListItems(JNIEnv * env, jcl
|
|||
g_framework->NativeFramework()->CountryInfoGetter().GetRegionsCountryId(MercatorBounds::FromLatLon(lat, lon), near);
|
||||
PutItemsToList(env, result, near, ItemCategory::NEAR_ME, [](TCountryId const & countryId, NodeAttrs const & attrs) -> bool
|
||||
{
|
||||
return !attrs.m_present;
|
||||
return (attrs.m_status == NodeStatus::NotDownloaded);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue