Added ability to update map and download routing at the same time.

This commit is contained in:
Timur Bernikowich 2014-10-28 19:36:05 +03:00 committed by Alex Zolotarev
parent b519d2e789
commit 28ff6cbac8

View file

@ -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)