Replace /platform/detection with /env

This commit is contained in:
Eric Bailey
2026-01-15 16:49:43 -06:00
parent 4680e78a28
commit 426b97b072
244 changed files with 777 additions and 801 deletions
+2 -2
View File
@@ -439,9 +439,9 @@ Example from Dialog:
Platform detection:
```tsx
import {isWeb, isNative, isIOS, isAndroid} from '#/platform/detection'
import {IS_WEB, IS_NATIVE, IS_IOS, IS_ANDROID} from '#/env'
if (isNative) {
if (IS_NATIVE) {
// Native-specific logic
}
```