forked from organicmaps/organicmaps
[MAPSME-3389] [ios] Fixed downloader condition to show delete button.
This commit is contained in:
parent
8ddd8a0e06
commit
fa717668bb
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