From 258d263ef6f63f3ae4d6a0092936d6411d2964c8 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Wed, 16 Mar 2016 13:31:48 +0300 Subject: [PATCH] [ios] Fixed incorrect download dialog on map update. --- iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm b/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm index 08ebbd8dc2..9cca44f4d1 100644 --- a/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm +++ b/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm @@ -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());