Skip to content

Commit

Permalink
Merge branch 'main' into @tjzel/plugin/context-objects
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel authored Jul 17, 2024
2 parents 4c2e509 + 054ee4e commit 5f5920f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-reanimated/src/ReducedMotion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function isReducedMotionEnabledInSystem() {
return isWeb()
? isWindowAvailable()
? // @ts-ignore Fallback if `window` is undefined.
!window.matchMedia('(prefers-reduced-motion: no-preference)').matches
window.matchMedia('(prefers-reduced-motion: reduce)').matches
: false
: !!(global as localGlobal)._REANIMATED_IS_REDUCED_MOTION;
}
Expand Down

0 comments on commit 5f5920f

Please sign in to comment.