Skip to content

Commit 059c78e

Browse files
authored
fix(iOS): wrong MACRO used for resetSupportedInterfaceOrientations (#20)
1 parent 30b315a commit 059c78e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/OrientationDirector.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ - (NSNumber *)isLocked
126126
#ifdef RCT_NEW_ARCH_ENABLED
127127
- (void)resetSupportedInterfaceOrientations
128128
#else
129-
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(resetSupportedInterfaceOrientations)
129+
RCT_EXPORT_METHOD(resetSupportedInterfaceOrientations)
130130
#endif
131131
{
132132
dispatch_async(dispatch_get_main_queue(), ^{

0 commit comments

Comments
 (0)