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@gmail.com>2016-12-01 11:26:56 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2016-12-01 11:46:28 +0300
commit57411e0eee752325b8720c1c00cffe15a56d2060 (patch)
treea8fb1e9c923e564836422e44ac8524b3e268b7c2 /iphone/Maps/Classes/CustomViews/MapViewControls
parent6f0e188b14f7a689c50af422ae58aeb62bc9d27c (diff)
[MAPSME-3126] [ios] Code cleanup.
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls')
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm
index 3f75db9f0b..6cb3eb6666 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm
@@ -4,6 +4,7 @@
#import "MWMAPIBar.h"
#import "MWMAddPlaceNavigationBar.h"
#import "MWMAlertViewController.h"
+#import "MWMAlertViewController.h"
#import "MWMAuthorizationCommon.h"
#import "MWMBottomMenuViewController.h"
#import "MWMButton.h"
@@ -147,7 +148,6 @@ extern NSString * const kAlohalyticsTapEventKey;
}
}
-- (MWMAlertViewController *)alertController { return self.ownerController.alertController; }
- (void)searchViewDidEnterState:(MWMSearchManagerState)state
{
if (state == MWMSearchManagerStateMapSearch)
@@ -234,7 +234,7 @@ extern NSString * const kAlohalyticsTapEventKey;
{
[Statistics logEvent:kStatDownloaderMigrationProhibitedDialogue
withParameters:@{kStatFrom : kStatDownloader}];
- [self.alertController presentMigrationProhibitedAlert];
+ [[MWMAlertViewController activeAlertController] presentMigrationProhibitedAlert];
}
else
{