[iOS] fix open shared bookmarks

This commit is contained in:
Aleksey Belouosv 2018-10-10 18:14:45 +03:00 committed by Daria Volvenkova
parent 0c899adb77
commit 63855a7400

View file

@ -759,7 +759,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
if (isFBURL)
return YES;
if ([self checkLaunchURL:[url.host rangeOfString:@"dlink.maps.me"].location != NSNotFound
if ([self checkLaunchURL:(url.host.length > 0 && [url.host rangeOfString:@"dlink.maps.me"].location != NSNotFound)
? [self convertUniversalLink:url] : url])
{
[self handleURLs];