diff --git a/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m b/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m index bb4f7f8..a7e637d 100644 --- a/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m +++ b/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m @@ -262,7 +262,7 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { if ([keyPath isEqualToString:@"interactiveTransitionCanceled"]) { [object removeObserver:self forKeyPath:@"interactiveTransitionCanceled"]; - BOOL transitionCanceled = ((NSNumber*)change[NSKeyValueChangeNewKey]).boolValue; + BOOL transitionCanceled = ((NSNumber *)change[NSKeyValueChangeNewKey]).boolValue; if (transitionCanceled) { //When interactive transition canceled, the destination viewController should be removed from navigationController [self.navigationObject.viewController removeFromParentViewController];