Browse Source

Revert "Fixes shared element transition"

This reverts commit 058873c1ed.
yogevbd 5 years ago
parent
commit
005f039f7c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lib/ios/RNNRootViewController.m

+ 2
- 2
lib/ios/RNNRootViewController.m View File

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