[ios] Fixed incorrect download dialog on map update.

This commit is contained in:
Ilya Grechuhin 2016-03-16 13:31:48 +03:00 committed by Sergey Yershov
parent e80f141f06
commit 258d263ef6

View file

@ -96,7 +96,7 @@ using namespace storage;
s.GetNodeAttrs(m_countryId, nodeAttrs);
BOOL const isMapVisible = [self.controller.navigationController.topViewController isEqual:self.controller];
if (isMapVisible && !GetFramework().IsRoutingActive())
if (isMapVisible && !nodeAttrs.m_present && !GetFramework().IsRoutingActive())
{
BOOL const isMultiParent = nodeAttrs.m_parentInfo.size() > 1;
BOOL const noParrent = (nodeAttrs.m_parentInfo[0].m_id == s.GetRootId());