Skip to content

Commit

Permalink
Fix merge problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Ruffenach committed Feb 19, 2014
1 parent ce8db0c commit 4d4204f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRToast/CRToast.m
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,8 @@ - (void)displayNotification:(CRToast*)notification {
_notificationWindow.rootViewController.view.frame = CGRectMake(0, 0, notificationSize.width, notificationSize.height);
}

_notificationWindow.windowLevel = notification.underStatusBar ? UIWindowLevelNormal : UIWindowLevelStatusBar;

UIView *statusBarView = notification.statusBarView;
statusBarView.frame = _notificationWindow.rootViewController.view.bounds;
[_notificationWindow.rootViewController.view addSubview:statusBarView];
Expand Down

0 comments on commit 4d4204f

Please sign in to comment.