Skip to content

Commit

Permalink
Fixing warning with Appcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Jun 1, 2015
1 parent 59f5506 commit 04fb2cb
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 04fb2cb

Please sign in to comment.