forked from organicmaps/organicmaps
Merge pull request #5204 from igrechuhin/MAPSME-3389
[MAPSME-3389] [ios] Fixed downloader condition to show delete button.
This commit is contained in:
commit
a5092e03b3
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ using namespace mwm;
|
|||
NodeAttrs nodeAttrs;
|
||||
GetFramework().GetStorage().GetNodeAttrs([self countryIdForIndexPath:indexPath].UTF8String, nodeAttrs);
|
||||
NodeStatus const status = nodeAttrs.m_status;
|
||||
return (status == NodeStatus::OnDisk || status == NodeStatus::OnDiskOutOfDate || nodeAttrs.m_localMwmCounter != 0);
|
||||
return (status == NodeStatus::OnDisk || status == NodeStatus::OnDiskOutOfDate || status == NodeStatus::Partly);
|
||||
}
|
||||
|
||||
#pragma mark - MWMMapDownloaderDataSource
|
||||
|
|
Loading…
Add table
Reference in a new issue