[ios] taxi button deleted #89

Closed
kirill09 wants to merge 1 commit from issue-76 into master
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)