Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UIManager] Remove updateView unused viewName param #1441

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Libraries/ReactIOS/NativeMethodsMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ var NativeMethodsMixin = {

RCTUIManager.updateView(
findNodeHandle(this),
this.viewConfig.uiViewClassName,
props
);
},
Expand Down
1 change: 0 additions & 1 deletion Libraries/ReactNative/ReactNativeBaseComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ ReactNativeBaseComponent.Mixin = {
if (updatePayload) {
RCTUIManager.updateView(
ReactNativeTagHandles.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),
this.viewConfig.uiViewClassName,
updatePayload
);
}
Expand Down
1 change: 0 additions & 1 deletion Libraries/ReactNative/ReactNativeTextComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ assign(ReactNativeTextComponent.prototype, {
ReactNativeTagHandles.mostRecentMountedNodeHandleForRootNodeID(
this._rootNodeID
),
'RCTRawText',
{text: this._stringText}
);
}
Expand Down
2 changes: 0 additions & 2 deletions React/Modules/RCTUIManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -849,9 +849,7 @@ static void RCTSetShadowViewProps(NSDictionary *props, RCTShadowView *shadowView
}];
}

// TODO: remove viewName param as it isn't needed
RCT_EXPORT_METHOD(updateView:(NSNumber *)reactTag
viewName:(__unused NSString *)_
props:(NSDictionary *)props)
{
RCTViewManager *viewManager = _viewManagerRegistry[reactTag];
Expand Down