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:
parent
e7fba4c123
commit
a07026d075
|
@ -264,9 +264,11 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||||
public void setChildren(
|
public void setChildren(
|
||||||
int viewTag,
|
int viewTag,
|
||||||
ReadableArray childrenTags) {
|
ReadableArray childrenTags) {
|
||||||
|
if (DEBUG) {
|
||||||
FLog.d(
|
FLog.d(
|
||||||
ReactConstants.TAG,
|
ReactConstants.TAG,
|
||||||
"(UIManager.setChildren) tag: " + viewTag + ", children: " + childrenTags);
|
"(UIManager.setChildren) tag: " + viewTag + ", children: " + childrenTags);
|
||||||
|
}
|
||||||
mUIImplementation.setChildren(viewTag, childrenTags);
|
mUIImplementation.setChildren(viewTag, childrenTags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue