From 2eac7c3e3b9d8cde3521675451e9a57a18a63fdf Mon Sep 17 00:00:00 2001 From: "dima.vorona" Date: Mon, 28 Mar 2016 11:05:05 +0300 Subject: [PATCH] Manual merge of https://github.com/romaonthego/RESideMenu/pull/244 --- RESideMenu/RESideMenu.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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