|
@@ -167,7 +167,7 @@
|
167
|
167
|
_customTitleView = (RNNReactView*)[_componentRegistry createComponentIfNotExists:options.topBar.title.component parentComponentId:viewController.layoutInfo.componentId reactViewReadyBlock:readyBlock];
|
168
|
168
|
_customTitleView.backgroundColor = UIColor.clearColor;
|
169
|
169
|
NSString* alignment = [options.topBar.title.component.alignment getWithDefaultValue:@""];
|
170
|
|
- [_customTitleView setAlignment:alignment];
|
|
170
|
+ [_customTitleView setAlignment:alignment inFrame:viewController.navigationController.navigationBar.frame];
|
171
|
171
|
|
172
|
172
|
viewController.navigationItem.titleView = nil;
|
173
|
173
|
viewController.navigationItem.titleView = _customTitleView;
|