Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls/Welcome/MWMWhatsNewBookingBicycleRoutingController.mm')
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/Welcome/MWMWhatsNewBookingBicycleRoutingController.mm15
1 files changed, 2 insertions, 13 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Welcome/MWMWhatsNewBookingBicycleRoutingController.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/Welcome/MWMWhatsNewBookingBicycleRoutingController.mm
index e9ac71ddaa..60acbf1099 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/Welcome/MWMWhatsNewBookingBicycleRoutingController.mm
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Welcome/MWMWhatsNewBookingBicycleRoutingController.mm
@@ -17,8 +17,6 @@
@property (weak, nonatomic) IBOutlet NSLayoutConstraint * titleTopOffset;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint * titleImageOffset;
-- (void)tryBooking;
-
@end
namespace
@@ -28,11 +26,7 @@ NSArray<TMWMWelcomeConfigBlock> * pagesConfigBlocks = @[
controller.image.image = [UIImage imageNamed:@"img_booking"];
controller.alertTitle.text = L(@"whatsnew_booking_header");
controller.alertText.text = L(@"whatsnew_booking_message");
- controller.nextPageButton.hidden = NO;
- [controller.nextPageButton setTitle:L(@"button_try") forState:UIControlStateNormal];
- [controller.nextPageButton addTarget:controller
- action:@selector(tryBooking)
- forControlEvents:UIControlEventTouchUpInside];
+ controller.nextPageButton.hidden = YES;
} copy],
[^(MWMWhatsNewBookingBicycleRoutingController * controller) {
controller.image.image = [UIImage imageNamed:@"img_bikecycle_navigation"];
@@ -41,6 +35,7 @@ NSArray<TMWMWelcomeConfigBlock> * pagesConfigBlocks = @[
controller.nextPageButton.hidden = YES;
} copy]
];
+
} // namespace
@implementation MWMWhatsNewBookingBicycleRoutingController
@@ -55,12 +50,6 @@ NSArray<TMWMWelcomeConfigBlock> * pagesConfigBlocks = @[
return pagesConfigBlocks;
}
-- (void)tryBooking
-{
- [self.pageController mapSearchText:[L(@"hotel") stringByAppendingString:@" "] forInputLocale:nil];
- [self close];
-}
-
- (IBAction)close
{
[self.pageController close];