Skip to content

Commit

Permalink
🐞 Fix: Initializer Usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Dec 8, 2024
1 parent 30b09b2 commit d779ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNIModalSheetView/RNIModalSheetViewManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ @implementation RNIModalSheetViewManager
#ifndef RCT_NEW_ARCH_ENABLED
- (UIView *)view
{
return [[RNIModalSheetView new] initWithBridge:self.bridge];
return [[RNIModalSheetView alloc] initWithBridge:self.bridge];
}

RNI_EXPORT_VIEW_PROPERTY(reactChildrenCount, NSNumber);
Expand Down

0 comments on commit d779ac2

Please sign in to comment.