forked from organicmaps/organicmaps
[cherry] [release-74-fix] [MAPSME-5088] [ios] Lowered map download dialog (z-index).
This commit is contained in:
parent
dc67029405
commit
7e3d66f7e5
1 changed files with 7 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue