[ios] taxi button deleted

Signed-off-by: kirill <kirill_belyshev@mail.ru>
This commit is contained in:
kirill 2021-01-18 22:25:32 +07:00 committed by Roman Tsisyk
parent 9bae1b377b
commit b5f6c20d31
2 changed files with 0 additions and 7 deletions

View file

@ -77,7 +77,6 @@ static CGFloat const kDrivingOptionsHeight = 48;
imageName:@"ic_train"
routerType:MWMRouterTypePublicTransport];
[self addProgress:self.bicycle imageName:@"ic_bike" routerType:MWMRouterTypeBicycle];
[self addProgress:self.taxi imageName:@"ic_taxi" routerType:MWMRouterTypeTaxi];
}
- (void)addProgress:(UIView *)parentView

View file

@ -222,12 +222,6 @@ class PlacePageCommonLayout: NSObject, IPlacePageLayout {
viewControllers.append(infoViewController)
}
if placePageData.taxiProvider != .none &&
!LocationManager.isLocationProhibited() &&
FrameworkHelper.isNetworkConnected() {
viewControllers.append(taxiViewController)
}
if placePageData.previewData.showUgc {
viewControllers.append(ratingSummaryViewController)
viewControllers.append(addReviewViewController)