Skip to content

Commit

Permalink
Fix incorrect key in class map
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Ruffenach committed May 19, 2014
1 parent 523f6ec commit 47185bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CRToast/CRToast.m
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ + (void)initialize {
kCRToastBackgroundColorKey : NSStringFromClass([UIColor class]),
kCRToastImageKey : NSStringFromClass([UIImage class]),
kCRToastInteractionRespondersKey : NSStringFromClass([NSArray class]),
kCRToastInteractionRespondersKey : NSStringFromClass([@(kCRAutoRotateDefault) class])};
kCRToastAutorotateKey : NSStringFromClass([@(kCRAutoRotateDefault) class])};
}
}

Expand Down Expand Up @@ -1008,6 +1008,7 @@ - (void)layoutSubviews {
CGRectGetWidth(contentFrame)-x-kCRStatusBarViewNoImageRightContentInset,
height);


self.subtitleLabel.frame = CGRectMake(x,
height+offset+statusBarYOffset,
CGRectGetWidth(contentFrame)-x-kCRStatusBarViewNoImageRightContentInset,
Expand Down

0 comments on commit 47185bc

Please sign in to comment.