File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ EXPO_PUBLIC_LAUNCH_DARKLY=""
55EXPO_PUBLIC_SENTRY_DSN = " "
66EXPO_PUBLIC_MIXPANEL_TOKEN = " "
77
8- EXPO_PUBLIC_ENABLE_DEV_CONSOLE = " "
9-
108EXPO_PUBLIC_ONRAMPER_API_KEY = onramperapikey
119EXPO_PUBLIC_ONRAMPER_WIDGET_HOST = onramperwidgethost
1210EXPO_PUBLIC_ONRAMPER_SIGNING_SECRET = onrampersigningkey
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { HeaderActions } from '@/components/screen/screen-header/components/head
33import { useGlobalSheets } from '@/core/global-sheet-provider' ;
44import { CreateWalletCard } from '@/features/account/components/create-wallet-card' ;
55import { NetworkBadge } from '@/features/settings/network-badge' ;
6+ import { isProduction } from '@/shared/environment' ;
67import { TestId } from '@/shared/test-id' ;
78import { useRouter } from 'expo-router' ;
89
@@ -17,7 +18,7 @@ export function HomeScreenWithoutAccount() {
1718 < Screen . Header
1819 leftElement = {
1920 < Box flexDirection = "row" alignItems = "center" p = "2" gap = "2" >
20- { __DEV__ || process . env . EXPO_PUBLIC_ENABLE_DEV_CONSOLE ? (
21+ { ! isProduction ( ) ? (
2122 < Pressable
2223 onPress = { ( ) => router . navigate ( '/developer-console' ) }
2324 testID = { TestId . homeDeveloperToolsButton }
Original file line number Diff line number Diff line change 1+ import { isProduction } from '@/shared/environment' ;
12import { TestId } from '@/shared/test-id' ;
23import { useSettings } from '@/store/settings/settings' ;
34import { useWallets } from '@/store/wallets/wallets.read' ;
@@ -24,7 +25,7 @@ export function HeaderActions() {
2425
2526 return (
2627 < Box alignItems = "center" flexDirection = "row" justifyContent = "center" >
27- { ( __DEV__ || process . env . EXPO_PUBLIC_ENABLE_DEV_CONSOLE ) && (
28+ { ! isProduction ( ) && (
2829 < IconButton
2930 label = { t `Dev Console` }
3031 icon = { < CodeIcon /> }
Original file line number Diff line number Diff line change @@ -713,7 +713,7 @@ msgstr "Depositing"
713713msgid "Description"
714714msgstr "Description"
715715
716- #: src/components/screen/screen-header/components/header-actions.tsx:29
716+ #: src/components/screen/screen-header/components/header-actions.tsx:30
717717msgid "Dev Console"
718718msgstr "Dev Console"
719719
@@ -1034,7 +1034,7 @@ msgstr "Hide account"
10341034msgid "Hide advanced options"
10351035msgstr "Hide advanced options"
10361036
1037- #: src/components/screen/screen-header/components/header-actions.tsx:56
1037+ #: src/components/screen/screen-header/components/header-actions.tsx:57
10381038msgid "Hide balances"
10391039msgstr "Hide balances"
10401040
@@ -1721,7 +1721,9 @@ msgstr "Sending to your own address isn’t supported. Choose a different addres
17211721msgid "Sent"
17221722msgstr "Sent"
17231723
1724- #: src/components/screen/screen-header/components/header-actions.tsx:45
1724+ #: src/app/settings/index.tsx:59
1725+ #: src/components/screen/screen-header/components/header-actions.tsx:46
1726+ #: src/features/qr-scanner/use-camera-permission.ts:38
17251727msgid "Settings"
17261728msgstr "Settings"
17271729
@@ -1738,7 +1740,7 @@ msgstr "Share anonymous usage details"
17381740msgid "Show advanced options"
17391741msgstr "Show advanced options"
17401742
1741- #: src/components/screen/screen-header/components/header-actions.tsx:57
1743+ #: src/components/screen/screen-header/components/header-actions.tsx:58
17421744msgid "Show balances"
17431745msgstr "Show balances"
17441746
You can’t perform that action at this time.
0 commit comments