about summary refs log tree commit diff
path: root/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.web.ts
blob: 917c97396fa6d01406f8de4c86b5822920b31fe2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import {NotImplementedError} from '../NotImplemented'

export function getIsReducedMotionEnabled(): boolean {
  if (typeof window === 'undefined') {
    return false
  }
  return window.matchMedia('(prefers-reduced-motion: reduce)').matches
}

export function setAudioMixWithOthers(mixWithOthers: boolean): void {
  throw new NotImplementedError({mixWithOthers})
}