Skip to content

Commit d0f84b3

Browse files
committed
fix: use right property attribute for shared_ptr in ObjC++ class
1 parent 417d319 commit d0f84b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-multinstance/ios/SandboxReactNativeDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
2020
*/
2121
@interface SandboxReactNativeDelegate : RCTDefaultReactNativeFactoryDelegate
2222

23-
@property (nonatomic, nullable) std::shared_ptr<const facebook::react::SandboxReactNativeViewEventEmitter> eventEmitter;
23+
@property (nonatomic) std::shared_ptr<const facebook::react::SandboxReactNativeViewEventEmitter> eventEmitter;
2424
@property (nonatomic, assign) BOOL hasOnMessageHandler;
2525
@property (nonatomic, assign) BOOL hasOnErrorHandler;
2626

0 commit comments

Comments
 (0)