From 9a29077f2cdaf402573b0a57863be805a6f2f707 Mon Sep 17 00:00:00 2001 From: kirill Date: Mon, 18 Jan 2021 22:25:32 +0700 Subject: [PATCH] [ios] taxi button deleted --- .../Views/RoutePreview/MWMRoutePreview.mm | 1 - .../PlacePageLayout/Layouts/PlacePageCommonLayout.swift | 6 ------ 2 files changed, 7 deletions(-) diff --git a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMRoutePreview.mm b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMRoutePreview.mm index 67f2438c55..7c072779ce 100644 --- a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMRoutePreview.mm +++ b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMRoutePreview.mm @@ -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 diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift index 21a1c19875..cb6560756d 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift @@ -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) -- 2.45.3