Fix Litho container props in layout inspector
Summary: The layout inspector isn't showing props for litho views. This fixes that. Reviewed By: passy Differential Revision: D14052057 fbshipit-source-id: fa6fe14785bc1588db6624c1319aedf88d843763
This commit is contained in:
committed by
Facebook Github Bot
parent
e33e2d4d06
commit
8eb790b8b5
@@ -159,7 +159,10 @@ public class DebugComponentDescriptor extends NodeDescriptor<DebugComponent> {
|
||||
data.add(new Named<>("Layout", layoutData));
|
||||
}
|
||||
|
||||
data.addAll(getPropData(node));
|
||||
final List<Named<FlipperObject>> propData = getPropData(node);
|
||||
if (propData != null) {
|
||||
data.addAll(propData);
|
||||
}
|
||||
|
||||
final FlipperObject stateData = getStateData(node);
|
||||
if (stateData != null) {
|
||||
|
||||
Reference in New Issue
Block a user