From b5e1c2dbaabb12794af3642ef997e91bcbf4cc26 Mon Sep 17 00:00:00 2001 From: Alexander Boriskov Date: Mon, 18 May 2020 14:06:14 +0300 Subject: [PATCH] [iOS] Fixed share view present in action bar https://jira.mail.ru/browse/MAPSME-13856 --- iphone/Maps/UI/PlacePage/PlacePageInteractor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift b/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift index 55e8acdd68..413ffe11c7 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift @@ -232,7 +232,7 @@ extension PlacePageInteractor: ActionBarViewControllerDelegate { MWMPlacePageManagerHelper.route(to: placePageData) case .share: let shareVC = MWMActivityViewController.share(forPlacePage: placePageData) - shareVC!.present(inParentViewController: actionBar, anchorView: actionBar.popoverSourceView) + shareVC!.present(inParentViewController: MapViewController.shared(), anchorView: actionBar.popoverSourceView) Statistics.logEvent(kStatEventName(kStatPlacePage, kStatShare)) case .avoidToll: MWMPlacePageManagerHelper.avoidToll()