Skip to content

Commit

Permalink
Fix production build (#5925)
Browse files Browse the repository at this point in the history
## Summary

This PR fixes production build for iOS. In
#5901 I
called `setReaSurfacePresenter` method but this one was defined only on
debug build.

Fixes
#5912

## Test plan

Run production build for iOS
  • Loading branch information
piaskowyk authored Apr 23, 2024
1 parent b20f643 commit bb69466
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apple/REAModule.mm
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ - (void)setBridge:(RCTBridge *)bridge
[[self.moduleRegistry moduleForName:"EventDispatcher"] addDispatchObserver:self];
}

#ifndef NDEBUG
- (void)setReaSurfacePresenter
{
if (reaSurface == nil) {
Expand All @@ -198,7 +197,6 @@ - (void)setReaSurfacePresenter
}
reaSurface.reaModule = self;
}
#endif // NDEBUG

#else // RCT_NEW_ARCH_ENABLED

Expand Down

0 comments on commit bb69466

Please sign in to comment.