Skip to content

Commit

Permalink
Use isEqual instead
Browse files Browse the repository at this point in the history
  • Loading branch information
SoneeJohn committed Feb 24, 2020
1 parent 33b83ef commit 4e53d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XCDYouTubeKit/XCDYouTubeVideoQueryOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ - (instancetype)initWithVideo:(XCDYouTubeVideo *)video streamURLsToQuery:(NSDict
for (id key in streamURLsToQuery)
{
//Has to contain the same key and value of in the `video` object `streamURLs` or we skip
if (_video.streamURLs[key] == nil && [(NSURL *)_video.streamURLs[key] isNotEqualTo:(NSURL *)streamURLsToQuery[key]])
if (_video.streamURLs[key] == nil && [(NSURL *)_video.streamURLs[key] isEqual:(NSURL *)streamURLsToQuery[key]] == NO)
{
continue;
}
Expand Down

0 comments on commit 4e53d7d

Please sign in to comment.