Back out "Fix the crash in the watch tab"
Summary: This resolves a crash related to the contents of certain CKComponents, which was apparently introduced by D15266478 Differential Revision: D15406260 fbshipit-source-id: efd1ad1a1bcb41451c56b74c240ad2dca069deb0
This commit is contained in:
committed by
Facebook Github Bot
parent
7823389081
commit
bcc05296ef
@@ -86,7 +86,7 @@
|
||||
|
||||
- (id)childForNode:(SKComponentLayoutWrapper *)node atIndex:(NSUInteger)index {
|
||||
if (node.children.size() == 0) {
|
||||
return nil;
|
||||
return node.component.viewContext.view;
|
||||
}
|
||||
return node.children[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user