|
@@ -36,7 +36,12 @@
|
36
|
36
|
-(void)showModal:(UIViewController *)viewController completion:(RNNTransitionCompletionBlock)completion {
|
37
|
37
|
self.toVC = (UIViewController<RNNRootViewProtocol>*)viewController;
|
38
|
38
|
_completionBlock = completion;
|
39
|
|
- [self waitForContentToAppearAndThen:@selector(showModalAfterLoad:)];
|
|
39
|
+
|
|
40
|
+ if ([self.toVC isCustomViewController]) {
|
|
41
|
+ [self showModalAfterLoad:nil];
|
|
42
|
+ } else {
|
|
43
|
+ [self waitForContentToAppearAndThen:@selector(showModalAfterLoad:)];
|
|
44
|
+ }
|
40
|
45
|
}
|
41
|
46
|
|
42
|
47
|
-(void)dismissModal:(NSString *)componentId {
|