Skip to content

Commit

Permalink
Merge pull request #23 from jensmoes/master
Browse files Browse the repository at this point in the history
Remove cast of pointer to BOOL.
  • Loading branch information
atljeremy committed Oct 27, 2015
2 parents 4d63704 + 3bc2499 commit 26329c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JFMinimalNotification/JFMinimalNotification.m
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ - (void)didMoveToSuperview

- (BOOL)isReadyToDisplay
{
return (BOOL)self.superview;
return self.superview ? YES : NO;
}

- (void)show
Expand Down

0 comments on commit 26329c8

Please sign in to comment.