[MAPSME-5885] [ios] Fixed editor viral alert for iPad.

This commit is contained in:
Ilya Grechuhin 2017-11-10 13:35:47 +03:00 committed by Roman Kuznetsov
parent 2dda10dcef
commit f5576b27a3

View file

@ -1,8 +1,9 @@
#import "MWMCommon.h"
#import "MWMEditorViralAlert.h"
#import "MWMActivityViewController.h"
#import "MWMAlertViewController.h"
#import "MWMAuthorizationCommon.h"
#import "MWMEditorViralAlert.h"
#import "MWMBottomMenuViewController.h"
#import "MWMCommon.h"
#import "Statistics.h"
@interface MWMEditorViralAlert ()
@ -24,7 +25,7 @@
[self close:^{
MWMActivityViewController * shareVC = [MWMActivityViewController shareControllerForEditorViral];
[shareVC presentInParentViewController:self.alertController.ownerViewController
anchorView:self.shareButton];
anchorView:[MWMBottomMenuViewController controller].view];
}];
}