diff --git a/iphone/Maps/Classes/CustomAlert/MWMEditorViralAlert.mm b/iphone/Maps/Classes/CustomAlert/MWMEditorViralAlert.mm index ee47f44bfe..cb2031a203 100644 --- a/iphone/Maps/Classes/CustomAlert/MWMEditorViralAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/MWMEditorViralAlert.mm @@ -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]; }]; }