From 2add75f1d0fab8ee05075fecd304930ec129b5de Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Tue, 17 Jan 2017 13:57:28 +0300 Subject: [PATCH] [MAPSME-3524] [ios] Fixed map download dialog coloring. --- iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm b/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm index 05b1ebb77c..e00fe0f6a9 100644 --- a/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm +++ b/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm @@ -107,8 +107,12 @@ using namespace storage; self.nodeTopOffset.priority = hideParent ? UILayoutPriorityDefaultHigh : UILayoutPriorityDefaultLow; if (!hideParent) + { self.parentNode.text = @(nodeAttrs.m_topmostParentInfo[0].m_localName.c_str()); + self.parentNode.textColor = [UIColor blackSecondaryText]; + } self.node.text = @(nodeAttrs.m_nodeLocalName.c_str()); + self.node.textColor = [UIColor blackPrimaryText]; self.nodeSize.hidden = platform::migrate::NeedMigrate(); self.nodeSize.textColor = [UIColor blackSecondaryText]; self.nodeSize.text = formattedSize(nodeAttrs.m_mwmSize);