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:
Diffstat (limited to 'iphone/Maps/Classes/MapDownloader/MWMMapDownloaderViewController.mm')
-rw-r--r--iphone/Maps/Classes/MapDownloader/MWMMapDownloaderViewController.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/iphone/Maps/Classes/MapDownloader/MWMMapDownloaderViewController.mm b/iphone/Maps/Classes/MapDownloader/MWMMapDownloaderViewController.mm
index 2a683da771..60996cce55 100644
--- a/iphone/Maps/Classes/MapDownloader/MWMMapDownloaderViewController.mm
+++ b/iphone/Maps/Classes/MapDownloader/MWMMapDownloaderViewController.mm
@@ -25,7 +25,7 @@ using namespace storage;
@property (nonatomic) MWMMapDownloaderDataSource * defaultDataSource;
@property (nonatomic, readonly) NSString * parentCountryId;
-@property (nonatomic, readonly) TMWMMapDownloaderMode mode;
+@property (nonatomic, readonly) mwm::DownloaderMode mode;
@property (nonatomic) BOOL showAllMapsButtons;
@@ -91,7 +91,7 @@ using namespace storage;
auto const & s = GetFramework().Storage();
if (![self.parentCountryId isEqualToString:@(s.GetRootId().c_str())])
return;
- if (self.mode == TMWMMapDownloaderMode::Available || s.HaveDownloadedCountries())
+ if (self.mode == mwm::DownloaderMode::Available || s.HaveDownloadedCountries())
{
[self configAllMapsView];
self.tableView.hidden = NO;
@@ -203,7 +203,7 @@ using namespace storage;
#pragma mark - Configuration
-- (void)setParentCountryId:(NSString *)parentId mode:(TMWMMapDownloaderMode)mode
+- (void)setParentCountryId:(NSString *)parentId mode:(mwm::DownloaderMode)mode
{
self.defaultDataSource = [[MWMMapDownloaderExtendedDataSource alloc] initForRootCountryId:parentId
delegate:self