Skip to content

Commit

Permalink
fix(NativeEventEmitter): load NativeAnimatedModule on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Dec 4, 2024
1 parent 49ce1d3 commit 581a9a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export default {
nativeEventEmitter = new NativeEventEmitter(
// T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
// If you want to use the native module on other platforms, please remove this condition and test its behavior
Platform.OS !== 'ios' ? null : NativeAnimatedModule,
( Platform.OS !== 'ios'|| Platform.OS !== 'macos' ) ? null : NativeAnimatedModule,
);
}
return nativeEventEmitter;
Expand Down

0 comments on commit 581a9a6

Please sign in to comment.