Explorar el Código

Possible fix for crash on ios when setting topbar left buttons with (#5189)

custom component.
Marian Palkus hace 5 años
padre
commit
29829ae2aa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lib/ios/RNNControllerFactory.m

+ 1
- 1
lib/ios/RNNControllerFactory.m Ver fichero

@@ -188,7 +188,7 @@
188 188
 	RNNLayoutInfo* layoutInfo = [[RNNLayoutInfo alloc] initWithNode:node];
189 189
 	RNNNavigationOptions* options = [[RNNNavigationOptions alloc] initWithDict:node.data[@"options"]];;
190 190
 
191
-	RNNSideMenuChildVC *sideMenuChild = [[RNNSideMenuChildVC alloc] initWithLayoutInfo:layoutInfo creator:_creator options:options defaultOptions:_defaultOptions presenter:[[RNNViewControllerPresenter alloc] init] eventEmitter:_eventEmitter childViewController:childVc type:type];
191
+	RNNSideMenuChildVC *sideMenuChild = [[RNNSideMenuChildVC alloc] initWithLayoutInfo:layoutInfo creator:_creator options:options defaultOptions:_defaultOptions presenter:[[RNNViewControllerPresenter alloc] initWithComponentRegistry:_componentRegistry] eventEmitter:_eventEmitter childViewController:childVc type:type];
192 192
 	
193 193
 	return sideMenuChild;
194 194
 }