From 53831e2e6d41852e3bf0cc204f88cdce4bc7e975 Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Thu, 22 Aug 2024 16:55:46 +0200 Subject: [PATCH] feat: add load method --- ios/RNCPickerComponentView.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ios/RNCPickerComponentView.mm b/ios/RNCPickerComponentView.mm index f8c3fb1a8..043070333 100644 --- a/ios/RNCPickerComponentView.mm +++ b/ios/RNCPickerComponentView.mm @@ -29,6 +29,12 @@ + (ComponentDescriptorProvider)componentDescriptorProvider return concreteComponentDescriptorProvider(); } +// Needed because of this: https://github.com/facebook/react-native/pull/37274 ++ (void)load +{ + [super load]; +} + - (instancetype)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) {