mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Fix unused argument warnings
Reviewed By: milend Differential Revision: D2795407 fb-gh-sync-id: 83f5cc10b115eef3becb4ebab56b366f1a12a3ad
This commit is contained in:
committed by
facebook-github-bot-3
parent
81dc490ab3
commit
d7ad393f22
@@ -840,7 +840,7 @@ RCT_EXPORT_METHOD(createView:(nonnull NSNumber *)reactTag
|
||||
UIColor *backgroundColor = shadowView.backgroundColor;
|
||||
|
||||
[self addUIBlock:^(RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry){
|
||||
UIView *view = [componentData createViewWithTag:reactTag props:props];
|
||||
UIView *view = [componentData createViewWithTag:reactTag];
|
||||
if (view) {
|
||||
if ([view respondsToSelector:@selector(setBackgroundColor:)]) {
|
||||
((UIView *)view).backgroundColor = backgroundColor;
|
||||
|
||||
Reference in New Issue
Block a user