Skip to content

Commit

Permalink
feat: add load method
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLewicki committed Aug 22, 2024
1 parent 8998da2 commit 53831e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/RNCPickerComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ + (ComponentDescriptorProvider)componentDescriptorProvider
return concreteComponentDescriptorProvider<RNCPickerComponentDescriptor>();
}

// 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]) {
Expand Down

0 comments on commit 53831e2

Please sign in to comment.