Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@mapswithme.com>2015-07-15 17:37:10 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:55:54 +0300
commit4f98f57347d059d28863edd7e39cbd2a1858a2b6 (patch)
tree8d380ea49dc392ed1c7ea3fd889c880e2c526e2e /iphone/Maps/Classes/CustomAlert
parent29f38640e9ec226eccc85c8cafc6e0deab9692c6 (diff)
[ios] Code cleanup.
Diffstat (limited to 'iphone/Maps/Classes/CustomAlert')
-rw-r--r--iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm
index b22c61d2d3..9f8c81d587 100644
--- a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm
+++ b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm
@@ -7,6 +7,7 @@
//
#import "ActiveMapsVC.h"
+#import "Common.h"
#import "MWMAlertViewController.h"
#import "MWMDownloaderDialogCell.h"
#import "MWMDownloaderDialogHeader.h"
@@ -42,7 +43,7 @@
}
self.isMapsFiles = isMaps;
self.titles = titles;
- self.size = [NSString stringWithFormat:@"%@ %@", @(totalRoutingSize / (1024 * 1024)), L(@"mb")];
+ self.size = [NSString stringWithFormat:@"%@ %@", @(totalRoutingSize / MB), L(@"mb")];
}
return self;
}