Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of the status bar on the hide menu is now called at the completion #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RESideMenu.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RESideMenu'
s.version = '4.0.7'
s.version = '4.0.8'
s.authors = { 'Roman Efimov' => '[email protected]' }
s.homepage = 'https://github.com/romaonthego/RESideMenu'
s.summary = 'iOS 7 style side menu with parallax effect.'
Expand Down
2 changes: 1 addition & 1 deletion RESideMenu/RESideMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ - (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];
}
Expand All @@ -428,7 +429,6 @@ - (void)hideMenuViewControllerAnimated:(BOOL)animated
animationBlock();
completionBlock();
}
[self statusBarNeedsAppearanceUpdate];
}

- (void)addContentButton
Expand Down