|
@@ -30,11 +30,11 @@
|
30
|
30
|
isExternalComponent:(BOOL)isExternalComponent {
|
31
|
31
|
self = [super init];
|
32
|
32
|
self.eventEmitter = eventEmitter;
|
33
|
|
- self.animator = [[RNNAnimator alloc] initWithTransitionOptions:self.layoutInfo.options.customTransition];
|
34
|
33
|
self.creator = creator;
|
35
|
34
|
self.isExternalComponent = isExternalComponent;
|
36
|
35
|
self.layoutInfo = layoutInfo;
|
37
|
|
-
|
|
36
|
+ self.animator = [[RNNAnimator alloc] initWithTransitionOptions:self.layoutInfo.options.customTransition];
|
|
37
|
+
|
38
|
38
|
if (!self.isExternalComponent) {
|
39
|
39
|
self.view = [creator createRootView:self.layoutInfo.name rootViewId:self.layoutInfo.componentId];
|
40
|
40
|
[[NSNotificationCenter defaultCenter] addObserver:self
|