diff --git a/app/__snapshots__/environment.test.ts.snap b/app/__snapshots__/environment.test.ts.snap index b840d1b89d..7a6e6e3f0f 100644 --- a/app/__snapshots__/environment.test.ts.snap +++ b/app/__snapshots__/environment.test.ts.snap @@ -30,9 +30,9 @@ Object { "debug": false, "name": "Production", "networks": Array [ - "MainNet", - "TestNet", "Playground", + "TestNet", + "MainNet", ], } `; diff --git a/app/components/HeaderTitle.tsx b/app/components/HeaderTitle.tsx index 325e1b88b6..08fac66804 100644 --- a/app/components/HeaderTitle.tsx +++ b/app/components/HeaderTitle.tsx @@ -1,5 +1,5 @@ import React, { useEffect } from 'react' -import { View } from 'react-native' +import { Platform, View } from 'react-native' import { useDispatch, useSelector } from 'react-redux' import { Logging } from '../api' import { useNetworkContext } from '../contexts/NetworkContext' @@ -57,7 +57,7 @@ export function ConnectionStatus (): JSX.Element { export function HeaderTitle ({ text, testID }: { text: string, testID?: string }): JSX.Element { return ( - + = { name: EnvironmentName.Production, debug: false, networks: [ - EnvironmentNetwork.MainNet, + EnvironmentNetwork.RemotePlayground, EnvironmentNetwork.TestNet, - EnvironmentNetwork.RemotePlayground + EnvironmentNetwork.MainNet ] }, Preview: { diff --git a/app/screens/AppNavigator/screens/Balances/screens/TokenDetailScreen.tsx b/app/screens/AppNavigator/screens/Balances/screens/TokenDetailScreen.tsx index 3657fa8797..e3dbad9418 100644 --- a/app/screens/AppNavigator/screens/Balances/screens/TokenDetailScreen.tsx +++ b/app/screens/AppNavigator/screens/Balances/screens/TokenDetailScreen.tsx @@ -72,7 +72,7 @@ export function TokenDetailScreen ({ route, navigation }: Props): JSX.Element { token.symbol === 'DFI' && ( { const mode: ConversionMode = token.id === '0_utxo' ? 'utxosToAccount' : 'accountToUtxos' navigation.navigate('Convert', { mode }) diff --git a/app/screens/AppNavigator/screens/Balances/screens/__snapshots__/TokenDetailScreen.test.tsx.snap b/app/screens/AppNavigator/screens/Balances/screens/__snapshots__/TokenDetailScreen.test.tsx.snap index aced66d087..4824b6e140 100644 --- a/app/screens/AppNavigator/screens/Balances/screens/__snapshots__/TokenDetailScreen.test.tsx.snap +++ b/app/screens/AppNavigator/screens/Balances/screens/__snapshots__/TokenDetailScreen.test.tsx.snap @@ -446,7 +446,7 @@ exports[`token detail screen should accept Token DFI 1`] = ` ] } > - Convert undefined + Convert to UTXO - Convert undefined + Convert to Token { BiometricProtectedPasscode.isEnrolled() .then(isEnrolled => setIsBiometric(isEnrolled)) @@ -196,7 +195,7 @@ export function TransactionAuthorization (): JSX.Element | null { }) .catch(e => Logging.error(e)) // auto fallback to manual pin input } - }, [status, isBiometric]) + }, [status, isBiometric]) */ if (status === 'INIT') return null diff --git a/app/screens/WalletNavigator/screens/components/OnboardingCarousel.tsx b/app/screens/WalletNavigator/screens/components/OnboardingCarousel.tsx index 07719cb7f6..0760a87b23 100644 --- a/app/screens/WalletNavigator/screens/components/OnboardingCarousel.tsx +++ b/app/screens/WalletNavigator/screens/components/OnboardingCarousel.tsx @@ -73,7 +73,7 @@ export function OnboardingCarousel (): JSX.Element { autoplayDelay={30} autoplayLoop autoplayLoopKeepAnimation - index={2} + index={0} showPagination data={slides} paginationStyleItem={tailwind('h-2.5 w-2.5 mx-1.5')}