Skip to content

Commit

Permalink
Fixes mutualmobile#250 - Completion block not executed when center co…
Browse files Browse the repository at this point in the history
…ntroller is set with full close animation and drawer is not open
  • Loading branch information
Mark Lewis committed May 15, 2014
1 parent 661ce21 commit a06e25c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MMDrawerController/MMDrawerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ -(void)setCenterViewController:(UIViewController *)newCenterViewController withF
if(self.openSide != MMDrawerSideNone){
[self closeDrawerAnimated:animated completion:completion];
}
else if(completion){
completion(YES);
}
}
}

Expand Down

0 comments on commit a06e25c

Please sign in to comment.