diff --git a/RESideMenu/RESideMenu.m b/RESideMenu/RESideMenu.m index b6b8efd9..d791afe1 100644 --- a/RESideMenu/RESideMenu.m +++ b/RESideMenu/RESideMenu.m @@ -411,6 +411,8 @@ - (void)hideMenuViewControllerAnimated:(BOOL)animated return; } [visibleMenuViewController endAppearanceTransition]; + [self statusBarNeedsAppearanceUpdate]; + if (!strongSelf.visible && [strongSelf.delegate conformsToProtocol:@protocol(RESideMenuDelegate)] && [strongSelf.delegate respondsToSelector:@selector(sideMenu:didHideMenuViewController:)]) { [strongSelf.delegate sideMenu:strongSelf didHideMenuViewController:rightMenuVisible ? strongSelf.rightMenuViewController : strongSelf.leftMenuViewController]; } @@ -428,7 +430,6 @@ - (void)hideMenuViewControllerAnimated:(BOOL)animated animationBlock(); completionBlock(); } - [self statusBarNeedsAppearanceUpdate]; } - (void)addContentButton