[cherry] [release-74-fix] [MAPSME-5088] [ios] Lowered map download dialog (z-index).

This commit is contained in:
Ilya Grechuhin 2017-07-21 14:14:37 +03:00 committed by Roman Kuznetsov
parent dc67029405
commit 7e3d66f7e5

View file

@ -1,6 +1,7 @@
#import "MWMMapDownloadDialog.h"
#import "CLLocation+Mercator.h"
#import "MWMAlertViewController.h"
#import "MWMBottomMenuViewController.h"
#import "MWMCircularProgress.h"
#import "MWMCommon.h"
#import "MWMFrameworkListener.h"
@ -175,7 +176,12 @@ using namespace storage;
{
if (self.superview)
return;
[self.controller.view addSubview:self];
auto superview = self.controller.view;
auto bottomMenuView = [MWMBottomMenuViewController controller].view;
if (bottomMenuView)
[superview insertSubview:self belowSubview:bottomMenuView];
else
[superview addSubview:self];
[MWMFrameworkListener addObserver:self];
}