Put setChildren debug log in DEBUG clause

Summary:
Missed wrapping this previously :x
Closes https://github.com/facebook/react-native/pull/8930

Reviewed By: foghina

Differential Revision: D3593226

Pulled By: astreet

fbshipit-source-id: aea05a6fe7a806d0e31bb486d3de90fe18f2c15f
This commit is contained in:
Andy Street 2016-07-22 06:12:23 -07:00 committed by Facebook Github Bot 8
parent e7fba4c123
commit a07026d075
1 changed files with 5 additions and 3 deletions

View File

@ -264,9 +264,11 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
public void setChildren(
int viewTag,
ReadableArray childrenTags) {
if (DEBUG) {
FLog.d(
ReactConstants.TAG,
"(UIManager.setChildren) tag: " + viewTag + ", children: " + childrenTags);
}
mUIImplementation.setChildren(viewTag, childrenTags);
}