yogevbd 6 years ago
parent
commit
5ca136a3c3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNModalManager.m

+ 1
- 1
lib/ios/RNNModalManager.m View File

75
 
75
 
76
 	UIViewController* topPresentedVC = [self topPresentedVC];
76
 	UIViewController* topPresentedVC = [self topPresentedVC];
77
 
77
 
78
-	if (modalToDismiss.options.animations.showModal) {
78
+	if ([modalToDismiss.options.animations.showModal hasCustomAnimation]) {
79
 		modalToDismiss.transitioningDelegate = modalToDismiss;
79
 		modalToDismiss.transitioningDelegate = modalToDismiss;
80
 	}
80
 	}
81
 
81