diff options
author | dan <dan.abramov@gmail.com> | 2024-12-13 17:16:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 17:16:53 +0000 |
commit | 356dad1932c3404f581b747127ae251dbe165bb3 (patch) | |
tree | d966d4c5fd4645f9897a984a018d7258399e1674 /src/screens/Onboarding/Layout.tsx | |
parent | e2a7965e438db9f70d76d2d7a911aa4c4a42c122 (diff) | |
download | voidsky-356dad1932c3404f581b747127ae251dbe165bb3.tar.zst |
Remove the environment indirections (#7089)
* Use raw underlying globals for environment * Set dev EXPO_PUBLIC_ENV by exclusion
Diffstat (limited to 'src/screens/Onboarding/Layout.tsx')
-rw-r--r-- | src/screens/Onboarding/Layout.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screens/Onboarding/Layout.tsx b/src/screens/Onboarding/Layout.tsx index 059cdfd5c..bdc1664f6 100644 --- a/src/screens/Onboarding/Layout.tsx +++ b/src/screens/Onboarding/Layout.tsx @@ -21,7 +21,6 @@ import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {ChevronLeft_Stroke2_Corner0_Rounded as ChevronLeft} from '#/components/icons/Chevron' import {createPortalGroup} from '#/components/Portal' import {P, Text} from '#/components/Typography' -import {IS_DEV} from '#/env' const COL_WIDTH = 420 @@ -64,7 +63,7 @@ export function Layout({children}: React.PropsWithChildren<{}>) { a.flex_1, t.atoms.bg, ]}> - {IS_DEV && ( + {__DEV__ && ( <View style={[a.absolute, a.p_xl, a.z_10, {right: 0, top: insets.top}]}> <Button variant="ghost" |