Skip to content

Commit

Permalink
Fix message status bar positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Adonis Peralta committed Feb 23, 2018
1 parent dd267a8 commit c5acf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RMessage/RMessageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ - (void)present
- (void)layoutMessageForPresentation
{
_titleSubtitleContainerViewTopConstraint.constant = 10.f;
CGFloat statusBarHeight = statusBarHeight = [self.viewController prefersStatusBarHidden] ? 0.f : ([UIApplication sharedApplication].statusBarFrame.size.height / 2.f);
CGFloat statusBarHeight = statusBarHeight = [self.viewController prefersStatusBarHidden] ? 0.f : ([UIApplication sharedApplication].statusBarFrame.size.height);

UINavigationController *messageNavigationController = [self rootNavigationController];

Expand Down

0 comments on commit c5acf85

Please sign in to comment.