Fix unused argument warnings

Reviewed By: milend

Differential Revision: D2795407

fb-gh-sync-id: 83f5cc10b115eef3becb4ebab56b366f1a12a3ad
This commit is contained in:
Nick Lockwood
2015-12-30 14:15:38 -08:00
committed by facebook-github-bot-3
parent 81dc490ab3
commit d7ad393f22
4 changed files with 5 additions and 5 deletions

View File

@@ -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;