From 40abc6628ddbae64c48f76056155a16a04b69581 Mon Sep 17 00:00:00 2001 From: Aleksey Belousov Date: Sun, 1 Mar 2020 18:09:20 +0300 Subject: [PATCH] [iOS] fix 'more reviews' button in PP --- iphone/Maps/UI/PlacePage/PlacePageInteractor.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift b/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift index 20b449a365..63dac99b90 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift @@ -82,7 +82,10 @@ extension PlacePageInteractor: AddReviewViewControllerDelegate { extension PlacePageInteractor: PlacePageReviewsViewControllerDelegate { func didPressMoreReviews() { - + let moreReviews = viewController!.storyboard!.instantiateViewController(ofType: MoreReviewsViewController.self) + moreReviews.ugcData = placePageData.ugcData + moreReviews.title = placePageData.previewData.title + MapViewController.shared()?.navigationController?.pushViewController(moreReviews, animated: true) } }