From 04fb2cb2106f46c2a218e7fbaf718763f13b61ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20C=C5=93ur?= Date: Mon, 1 Jun 2015 11:14:35 +0800 Subject: [PATCH] Fixing warning with Appcode --- Bolts/iOS/BFURL.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bolts/iOS/BFURL.m b/Bolts/iOS/BFURL.m index 99104fec3..02ffb5b7b 100644 --- a/Bolts/iOS/BFURL.m +++ b/Bolts/iOS/BFURL.m @@ -50,9 +50,9 @@ - (instancetype)initWithURL:(NSURL *)url forOpenInboundURL:(BOOL)forOpenURLEvent [version isEqual:BFAppLinkVersion]) { // There's applink data! The target should actually be the applink target. _appLinkData = applinkData; - NSDictionary *applinkExtras = applinkData[BFAppLinkExtrasKeyName]; + id applinkExtras = applinkData[BFAppLinkExtrasKeyName]; if (applinkExtras && [applinkExtras isKindOfClass:[NSDictionary class]]) { - _appLinkExtras = applinkData[BFAppLinkExtrasKeyName]; + _appLinkExtras = applinkExtras; } _targetURL = target ? [NSURL URLWithString:target] : url; _targetQueryParameters = [BFURL queryParametersForURL:_targetURL];