Skip to content

Commit

Permalink
feat: add load method (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLewicki authored Aug 23, 2024
1 parent bc55fe4 commit f99cb14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/Fabric/RNCSafeAreaProviderComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ @implementation RNCSafeAreaProviderComponentView {
BOOL _initialInsetsSent;
}

// 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
6 changes: 6 additions & 0 deletions ios/Fabric/RNCSafeAreaViewComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ @implementation RNCSafeAreaViewComponentView {
__weak UIView *_Nullable _providerView;
}

// 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 f99cb14

Please sign in to comment.