yogevbd 6 years ago
parent
commit
854a5d7324
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNControllerFactory.m

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

88
 	NSString* name = node.data[@"name"];
88
 	NSString* name = node.data[@"name"];
89
 	NSDictionary* customTransition = node.data[@"customTransition"];
89
 	NSDictionary* customTransition = node.data[@"customTransition"];
90
 	RNNAnimator* animator = [[RNNAnimator alloc] initWithAnimationsDictionary:customTransition];
90
 	RNNAnimator* animator = [[RNNAnimator alloc] initWithAnimationsDictionary:customTransition];
91
-	RNNNavigationOptions* options = [[RNNNavigationOptions alloc] initWithDict:node.data[@"navigationOptions"]];
91
+	RNNNavigationOptions* options = [[RNNNavigationOptions alloc] initWithDict:node.data[@"options"]];
92
 	NSString* componentId = node.nodeId;
92
 	NSString* componentId = node.nodeId;
93
 	RNNRootViewController* component = [[RNNRootViewController alloc] initWithName:name withOptions:options withComponentId:componentId rootViewCreator:_creator eventEmitter:_eventEmitter animator:animator];
93
 	RNNRootViewController* component = [[RNNRootViewController alloc] initWithName:name withOptions:options withComponentId:componentId rootViewCreator:_creator eventEmitter:_eventEmitter animator:animator];
94
 	CGSize availableSize = UIApplication.sharedApplication.delegate.window.bounds.size;
94
 	CGSize availableSize = UIApplication.sharedApplication.delegate.window.bounds.size;