diff --git a/iphone/Maps/Classes/MapsAppDelegate.mm b/iphone/Maps/Classes/MapsAppDelegate.mm index ee80f5c43d..a34f5df347 100644 --- a/iphone/Maps/Classes/MapsAppDelegate.mm +++ b/iphone/Maps/Classes/MapsAppDelegate.mm @@ -771,8 +771,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response if (isFBURL) return YES; - auto hosts = @[@"dlink.maps.me", @"dlink.mapsme.devmail.ru"]; - for (auto host in hosts) + for (auto host in @[@"dlink.maps.me", @"dlink.mapsme.devmail.ru"]) { if ([self checkLaunchURL:(url.host.length > 0 && [url.host rangeOfString:host].location != NSNotFound) ? [self convertUniversalLink:url] : url])