Files
trezor-suite/patches/expo-modules-core+3.0.22.patch
2025-11-03 14:47:01 +01:00

18 lines
744 B
Diff

diff --git a/node_modules/expo-modules-core/src/Platform.ts b/node_modules/expo-modules-core/src/Platform.ts
index a6d6c37..f3be1ff 100644
--- a/node_modules/expo-modules-core/src/Platform.ts
+++ b/node_modules/expo-modules-core/src/Platform.ts
@@ -11,12 +11,6 @@ export type PlatformSelectOSType = PlatformOSType | 'native' | 'electron' | 'def
export type PlatformSelect = <T>(specifics: { [platform in PlatformSelectOSType]?: T }) => T;
-if (__DEV__ && typeof process.env.EXPO_OS === 'undefined') {
- console.warn(
- `The global process.env.EXPO_OS is not defined. This should be inlined by babel-preset-expo during transformation.`
- );
-}
-
const nativeSelect =
typeof window !== 'undefined'
? ReactNativePlatform.select