Review fixes

This commit is contained in:
Roman Kuznetsov 2018-11-28 15:08:06 +03:00 committed by Olesia Bolovintseva
parent 3c6e103c2e
commit 66ae3bc52e

View file

@ -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])