Skip to content

Commit

Permalink
fix(iOS): switch RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD with RCT_EXPO…
Browse files Browse the repository at this point in the history
…RT_METHOD
  • Loading branch information
gladiuscode committed May 28, 2024
1 parent 30b315a commit cefc6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/OrientationDirector.mm
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ - (NSNumber *)isLocked
#ifdef RCT_NEW_ARCH_ENABLED
- (void)resetSupportedInterfaceOrientations
#else
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(resetSupportedInterfaceOrientations)
RCT_EXPORT_METHOD(resetSupportedInterfaceOrientations)
#endif
{
dispatch_async(dispatch_get_main_queue(), ^{
Expand Down

0 comments on commit cefc6df

Please sign in to comment.