Skip to content

Commit 43b5147

Browse files
committed
requiresMainQueueSetup YES on macOS
1 parent fdfba41 commit 43b5147

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-native/React/CoreModules/RCTAppearance.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,11 @@ - (instancetype)init
134134

135135
+ (BOOL)requiresMainQueueSetup
136136
{
137+
#if !TARGET_OS_OSX // [macOS]
137138
return NO;
139+
#else // [macOS
140+
return YES;
141+
#endif // macOS]
138142
}
139143

140144
- (dispatch_queue_t)methodQueue

0 commit comments

Comments
 (0)