Skip to content

Commit

Permalink
Merge pull request #103 from Coeur/patch-1
Browse files Browse the repository at this point in the history
Fixing warning with Appcode
  • Loading branch information
nlutsenko committed Jun 1, 2015
2 parents 59f5506 + 04fb2cb commit f9af6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bolts/iOS/BFURL.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit f9af6ab

Please sign in to comment.