Move browser env into main env (#9718)

This commit is contained in:
Eric Bailey
2026-01-16 17:20:03 -06:00
committed by GitHub
parent 0589bd7d9e
commit 62c0c06bbf
18 changed files with 70 additions and 55 deletions
+2 -3
View File
@@ -12,10 +12,9 @@ import Animated, {
withTiming,
} from 'react-native-reanimated'
import {isTouchDevice} from '#/lib/browser'
import {IS_NATIVE} from '#/env'
import {IS_NATIVE, IS_WEB_TOUCH_DEVICE} from '#/env'
const DEFAULT_TARGET_SCALE = IS_NATIVE || isTouchDevice ? 0.98 : 1
const DEFAULT_TARGET_SCALE = IS_NATIVE || IS_WEB_TOUCH_DEVICE ? 0.98 : 1
const AnimatedPressable = Animated.createAnimatedComponent(Pressable)