From 0f5cee4fec91f86c042c5fa579e956205cb2ad68 Mon Sep 17 00:00:00 2001 From: Daniel Abramowitz Date: Fri, 30 Nov 2018 10:48:04 -0800 Subject: [PATCH] Reenable SubDescriptors after fixing a bug on the flipper client dealing with empty strings Summary: Previously an empty string would crash the flipper client. Now that we handled that ok, we can reenable the descriptors. Reviewed By: jknoxville Differential Revision: D13257534 fbshipit-source-id: 09be4834d5a7023b2fa4e2bee7e57e412916120b --- .../SKComponentLayoutDescriptor.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm b/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm index 68f88a8d7..a3211d9b3 100644 --- a/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm +++ b/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm @@ -111,7 +111,7 @@ } - (void)addSubDescriptors:(nonnull NSArray*)subDescriptors{ - // _registeredSubdescriptors = subDescriptors; + _registeredSubdescriptors = subDescriptors; } - (NSDictionary *)propsForFlexboxChild:(CKFlexboxComponentChild)child {