From 6277e54eb794f404bd70801e4b58e401de86a68f Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Wed, 30 Sep 2020 15:30:47 +0300 Subject: [PATCH] Revert "[ios][guides on map] toast is disabled when welcome screen is active" This reverts commit fb1f238357bc455723694885efb4dd00b22fb04c. --- .../TrafficButton/MWMTrafficButtonViewController.mm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm index eab3397d6f..e2a1d1a306 100644 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm @@ -133,11 +133,9 @@ NSArray *imagesWithName(NSString *name) { case MWMMapOverlayGuidesStateEnabled: break; case MWMMapOverlayGuidesStateHasData: - if (![MapViewController sharedController].welcomePageController) { - performOnce(^{ - [[MWMToast toastWithText:L(@"routes_layer_is_on_toast")] showWithAlignment:MWMToastAlignmentTop]; - }, @"routes_layer_is_on_toast"); - } + performOnce(^{ + [[MWMToast toastWithText:L(@"routes_layer_is_on_toast")] showWithAlignment:MWMToastAlignmentTop]; + }, @"routes_layer_is_on_toast"); break; case MWMMapOverlayGuidesStateNetworkError: [[MWMToast toastWithText:L(@"connection_error_toast_guides")] show];