forked from organicmaps/organicmaps-tmp
[new downloader] iOS build fixes.
This commit is contained in:
parent
d562b786e2
commit
6d9c7250fc
2 changed files with 2 additions and 6 deletions
|
@ -73,7 +73,7 @@
|
|||
self.progressView.state = MWMCircularProgressStateNormal;
|
||||
break;
|
||||
case NodeStatus::Downloading:
|
||||
self.progressView.progress = static_cast<CGFloat>(nodeAttrs.m_downloadingProgress) / 100.0;
|
||||
self.progressView.progress = static_cast<CGFloat>(nodeAttrs.m_downloadingProgress.first) / 100.0;
|
||||
break;
|
||||
case NodeStatus::InQueue:
|
||||
self.progressView.state = MWMCircularProgressStateSpinner;
|
||||
|
@ -88,8 +88,6 @@
|
|||
case NodeStatus::OnDiskOutOfDate:
|
||||
self.progressView.state = MWMCircularProgressStateSelected;
|
||||
break;
|
||||
case NodeStatus::Mixed:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -144,7 +142,6 @@
|
|||
[self.delegate cancelNode:m_countryId];
|
||||
break;
|
||||
case NodeStatus::OnDisk:
|
||||
case NodeStatus::Mixed:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ using namespace storage;
|
|||
break;
|
||||
}
|
||||
case NodeStatus::Downloading:
|
||||
[self showDownloading:static_cast<CGFloat>(nodeAttrs.m_downloadingProgress) / 100.0];
|
||||
[self showDownloading:static_cast<CGFloat>(nodeAttrs.m_downloadingProgress.first) / nodeAttrs.m_downloadingProgress.second];
|
||||
addSubview();
|
||||
break;
|
||||
case NodeStatus::InQueue:
|
||||
|
@ -112,7 +112,6 @@ using namespace storage;
|
|||
break;
|
||||
case NodeStatus::OnDisk:
|
||||
case NodeStatus::OnDiskOutOfDate:
|
||||
case NodeStatus::Mixed:
|
||||
removeSubview();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue