From 28ff6cbac8910c0effd979e49a2e63c417d38b56 Mon Sep 17 00:00:00 2001 From: Timur Bernikowich Date: Tue, 28 Oct 2014 19:36:05 +0300 Subject: [PATCH] Added ability to update map and download routing at the same time. --- iphone/Maps/DownloaderParentVC.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iphone/Maps/DownloaderParentVC.mm b/iphone/Maps/DownloaderParentVC.mm index a6497a33af..8d5d3c9c8d 100644 --- a/iphone/Maps/DownloaderParentVC.mm +++ b/iphone/Maps/DownloaderParentVC.mm @@ -189,6 +189,9 @@ NSString * size = [self formattedMapSize:[self selectedMapSizeWithOptions:TMapOptions::EMapOnly]]; NSString * title = [NSString stringWithFormat:@"%@, %@", L(@"downloader_update_map"), size]; [self addButtonWithTitle:title action:DownloaderActionDownloadMap toActionSheet:actionSheet]; + size = [self formattedMapSize:[self selectedMapSizeWithOptions:TMapOptions::EMapWithCarRouting]]; + title = [NSString stringWithFormat:@"%@, %@", L(@"downloader_update_map_and_routing"), size]; + [self addButtonWithTitle:title action:DownloaderActionDownloadAll toActionSheet:actionSheet]; } if (status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate)