Files
discord-decomp/_bundle/Module1647.js
T
2026-11-01 12:12:55 +02:00

18 lines
703 B
JavaScript

// Metro module 1647 (f1648).
import { isWeb, isWindowAvailable } from "./Module1609";
import { makeMutable } from "./addCompilerSafeGetAndSet";
let c1303_3;
const jsValue = isWeb() ? !!isWindowAvailable() && window.matchMedia("(prefers-reduced-motion: reduce)").matches : !!global._REANIMATED_IS_REDUCED_MOTION;
export function isReducedMotionEnabledInSystem() {
return isWeb() ? !!isWindowAvailable() && window.matchMedia("(prefers-reduced-motion: reduce)").matches : !!global._REANIMATED_IS_REDUCED_MOTION;
}
c1303_3 = {
jsValue,
uiValue: makeMutable(jsValue),
setEnabled: (a0) => {
c1303_3.jsValue = a0;
c1303_3.uiValue.value = a0;
}
};
export { c1303_3 as ReducedMotionManager };