Skip to content

Commit 7255538

Browse files
committed
Merge pull request ECSlidingViewController#257 from Sander-Kornev/master
Replace setNeedStatusBarAppearenceUpdate
2 parents 41fc21a + 190c1f2 commit 7255538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ECSlidingViewController/ECSlidingViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,6 @@ - (void)completeTransition:(BOOL)didComplete {
828828
if (self.animationComplete) self.animationComplete();
829829
self.animationComplete = nil;
830830

831-
[self setNeedsStatusBarAppearanceUpdate];
832831
[self updateTopViewGestures];
833832
[self endAppearanceTransitionForOperation:self.currentOperation isCancelled:[self transitionWasCancelled]];
834833

@@ -842,6 +841,7 @@ - (void)completeTransition:(BOOL)didComplete {
842841
self.transitionInProgress = NO;
843842
self.view.userInteractionEnabled = YES;
844843
[UIViewController attemptRotationToDeviceOrientation];
844+
[self setNeedsStatusBarAppearanceUpdate];
845845
}
846846

847847
- (UIViewController *)viewControllerForKey:(NSString *)key {

0 commit comments

Comments
 (0)