Fixes crash when opening Delta with non-Dropbox URL scheme

This commit is contained in:
Riley Testut 2019-08-02 12:03:35 -07:00
parent 8113c4888d
commit 67ab6887b4

View File

@ -113,13 +113,9 @@ extension AppDelegate
return self.importControllerSkin(at: url)
}
}
else if DropboxService.shared.handleDropboxURL(url)
else if url.scheme?.hasPrefix("db-") == true
{
return true
}
else
{
return self.deepLinkController.handle(.url(url))
return DropboxService.shared.handleDropboxURL(url)
}
return false