Skip to content

Commit

Permalink
feat: add load method (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLewicki authored Aug 23, 2024
1 parent 89f7b79 commit 554d6d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ios/RTNAirshipMessageView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ @interface RTNAirshipMessageView()<RTNAirshipMessageWebViewWrapperDelegate>
@implementation RTNAirshipMessageView

#ifdef RCT_NEW_ARCH_ENABLED

// 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 554d6d7

Please sign in to comment.