diff --git a/iphone/Maps/Core/Routing/MWMRouter.mm b/iphone/Maps/Core/Routing/MWMRouter.mm index a758e63d5a..33c7e8bca1 100644 --- a/iphone/Maps/Core/Routing/MWMRouter.mm +++ b/iphone/Maps/Core/Routing/MWMRouter.mm @@ -463,9 +463,7 @@ void logPointEvent(MWMRoutePoint * point, NSString * eventType) { rm.FollowRoute(); [[MWMMapViewControlsManager manager] onRouteStart]; - if (@available(iOS 13.0, *)) {} else { - [MWMThemeManager setAutoUpdates:YES]; - } + [MWMThemeManager setAutoUpdates:YES];} } else { @@ -524,9 +522,7 @@ void logPointEvent(MWMRoutePoint * point, NSString * eventType) GetFramework().GetRoutingManager().CloseRouting(removeRoutePoints); if (removeRoutePoints) GetFramework().GetRoutingManager().DeleteSavedRoutePoints(); - if (@available(iOS 13.0, *)) {} else { - [MWMThemeManager setAutoUpdates:NO]; - } + [MWMThemeManager setAutoUpdates:NO]; [[MapsAppDelegate theApp] showAlertIfRequired]; }