diff --git a/apps/wallet-mobile/src/features/SetupWallet/useCases/ChooseSetupType/ChooseSetupTypeScreen.tsx b/apps/wallet-mobile/src/features/SetupWallet/useCases/ChooseSetupType/ChooseSetupTypeScreen.tsx index e85eb74fbe..554fffd980 100644 --- a/apps/wallet-mobile/src/features/SetupWallet/useCases/ChooseSetupType/ChooseSetupTypeScreen.tsx +++ b/apps/wallet-mobile/src/features/SetupWallet/useCases/ChooseSetupType/ChooseSetupTypeScreen.tsx @@ -42,6 +42,7 @@ export const ChooseSetupTypeScreen = () => { return } + // On production the step of network is skipped navigation.navigate('setup-wallet-create-choose-network') } @@ -54,6 +55,7 @@ export const ChooseSetupTypeScreen = () => { return } + // On production the step of network is skipped navigation.navigate('setup-wallet-restore-choose-network') } @@ -64,8 +66,15 @@ export const ChooseSetupTypeScreen = () => { const navigateHw = () => { setIsModalOpen(false) setUpTypeChanged('hw') - networkIdChanged(HASKELL_SHELLEY.NETWORK_ID) - navigation.navigate('setup-wallet-check-nano-x') + + if (isProduction()) { + networkIdChanged(HASKELL_SHELLEY.NETWORK_ID) + navigation.navigate('setup-wallet-check-nano-x') + return + } + + // On production the step of network is skipped + navigation.navigate('setup-wallet-restore-choose-network') } return ( diff --git a/apps/wallet-mobile/translations/messages/src/WalletNavigator.json b/apps/wallet-mobile/translations/messages/src/WalletNavigator.json index b897a5e8a5..067635c5cb 100644 --- a/apps/wallet-mobile/translations/messages/src/WalletNavigator.json +++ b/apps/wallet-mobile/translations/messages/src/WalletNavigator.json @@ -4,14 +4,14 @@ "defaultMessage": "!!!Transactions", "file": "src/WalletNavigator.tsx", "start": { - "line": 227, + "line": 230, "column": 22, - "index": 8024 + "index": 8180 }, "end": { - "line": 230, + "line": 233, "column": 3, - "index": 8127 + "index": 8283 } }, { @@ -19,14 +19,14 @@ "defaultMessage": "!!!Send", "file": "src/WalletNavigator.tsx", "start": { - "line": 231, + "line": 234, "column": 14, - "index": 8143 + "index": 8299 }, "end": { - "line": 234, + "line": 237, "column": 3, - "index": 8242 + "index": 8398 } }, { @@ -34,14 +34,14 @@ "defaultMessage": "!!!Receive", "file": "src/WalletNavigator.tsx", "start": { - "line": 235, + "line": 238, "column": 17, - "index": 8261 + "index": 8417 }, "end": { - "line": 238, + "line": 241, "column": 3, - "index": 8366 + "index": 8522 } }, { @@ -49,14 +49,14 @@ "defaultMessage": "!!!Dashboard", "file": "src/WalletNavigator.tsx", "start": { - "line": 239, + "line": 242, "column": 19, - "index": 8387 + "index": 8543 }, "end": { - "line": 242, + "line": 245, "column": 3, - "index": 8484 + "index": 8640 } }, { @@ -64,14 +64,14 @@ "defaultMessage": "!!!Delegate", "file": "src/WalletNavigator.tsx", "start": { - "line": 243, + "line": 246, "column": 18, - "index": 8504 + "index": 8660 }, "end": { - "line": 246, + "line": 249, "column": 3, - "index": 8599 + "index": 8755 } }, { @@ -79,14 +79,14 @@ "defaultMessage": "!!!Wallet", "file": "src/WalletNavigator.tsx", "start": { - "line": 247, + "line": 250, "column": 16, - "index": 8617 + "index": 8773 }, "end": { - "line": 250, + "line": 253, "column": 3, - "index": 8715 + "index": 8871 } }, { @@ -94,14 +94,14 @@ "defaultMessage": "!!!Staking", "file": "src/WalletNavigator.tsx", "start": { - "line": 251, + "line": 254, "column": 17, - "index": 8734 + "index": 8890 }, "end": { - "line": 254, + "line": 257, "column": 3, - "index": 8799 + "index": 8955 } }, { @@ -109,14 +109,14 @@ "defaultMessage": "!!!NFT Gallery", "file": "src/WalletNavigator.tsx", "start": { - "line": 255, + "line": 258, "column": 14, - "index": 8815 + "index": 8971 }, "end": { - "line": 258, + "line": 261, "column": 3, - "index": 8909 + "index": 9065 } }, { @@ -124,14 +124,14 @@ "defaultMessage": "!!!Menu", "file": "src/WalletNavigator.tsx", "start": { - "line": 259, + "line": 262, "column": 14, - "index": 8925 + "index": 9081 }, "end": { - "line": 262, + "line": 265, "column": 3, - "index": 8977 + "index": 9133 } }, { @@ -139,14 +139,14 @@ "defaultMessage": "!!!My wallets", "file": "src/WalletNavigator.tsx", "start": { - "line": 263, + "line": 266, "column": 31, - "index": 9010 + "index": 9166 }, "end": { - "line": 266, + "line": 269, "column": 3, - "index": 9119 + "index": 9275 } } ] \ No newline at end of file diff --git a/apps/wallet-mobile/translations/messages/src/features/SetupWallet/SetupWalletNavigator.json b/apps/wallet-mobile/translations/messages/src/features/SetupWallet/SetupWalletNavigator.json index 7471c040d0..75ef2f0236 100644 --- a/apps/wallet-mobile/translations/messages/src/features/SetupWallet/SetupWalletNavigator.json +++ b/apps/wallet-mobile/translations/messages/src/features/SetupWallet/SetupWalletNavigator.json @@ -1,32 +1,32 @@ [ { "id": "components.walletinit.walletinitscreen.title", - "defaultMessage": "!!!Add wallet", + "defaultMessage": "!!!Add new wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 132, - "column": 18, - "index": 4623 + "line": 138, + "column": 21, + "index": 4825 }, "end": { - "line": 135, + "line": 141, "column": 3, - "index": 4721 + "index": 4927 } }, { "id": "components.walletinit.createwallet.createwalletscreen.title", - "defaultMessage": "!!!Create a new wallet", + "defaultMessage": "!!!Create wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 136, + "line": 142, "column": 21, - "index": 4744 + "index": 4950 }, "end": { - "line": 139, + "line": 145, "column": 3, - "index": 4866 + "index": 5066 } }, { @@ -34,14 +34,14 @@ "defaultMessage": "!!!Restore wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 140, + "line": 146, "column": 22, - "index": 4890 + "index": 5090 }, "end": { - "line": 143, + "line": 149, "column": 3, - "index": 5009 + "index": 5209 } }, { @@ -49,14 +49,14 @@ "defaultMessage": "!!!Read-only Wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 144, + "line": 150, "column": 23, - "index": 5034 + "index": 5234 }, "end": { - "line": 147, + "line": 153, "column": 3, - "index": 5148 + "index": 5348 } }, { @@ -64,14 +64,14 @@ "defaultMessage": "!!!Verify read-only wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 148, + "line": 154, "column": 27, - "index": 5177 + "index": 5377 }, "end": { - "line": 151, + "line": 157, "column": 3, - "index": 5296 + "index": 5496 } }, { @@ -79,14 +79,14 @@ "defaultMessage": "!!!Recovery phrase", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 152, + "line": 158, "column": 21, - "index": 5319 + "index": 5519 }, "end": { - "line": 155, + "line": 161, "column": 3, - "index": 5437 + "index": 5637 } }, { @@ -94,14 +94,14 @@ "defaultMessage": "!!!Recovery phrase", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 156, + "line": 162, "column": 22, - "index": 5461 + "index": 5661 }, "end": { - "line": 159, + "line": 165, "column": 3, - "index": 5580 + "index": 5780 } }, { @@ -109,14 +109,14 @@ "defaultMessage": "!!!Verify restored wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 160, + "line": 166, "column": 29, - "index": 5611 + "index": 5811 }, "end": { - "line": 163, + "line": 169, "column": 3, - "index": 5725 + "index": 5925 } }, { @@ -124,14 +124,14 @@ "defaultMessage": "!!!Wallet credentials", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 164, + "line": 170, "column": 26, - "index": 5753 + "index": 5953 }, "end": { - "line": 167, + "line": 173, "column": 3, - "index": 5880 + "index": 6080 } }, { @@ -139,14 +139,14 @@ "defaultMessage": "!!!Connect to Ledger Device", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 168, + "line": 174, "column": 21, - "index": 5903 + "index": 6103 }, "end": { - "line": 171, + "line": 177, "column": 3, - "index": 6030 + "index": 6230 } }, { @@ -154,14 +154,14 @@ "defaultMessage": "!!!Connect to Ledger Device", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 172, + "line": 178, "column": 19, - "index": 6051 + "index": 6251 }, "end": { - "line": 175, + "line": 181, "column": 3, - "index": 6176 + "index": 6376 } }, { @@ -169,14 +169,14 @@ "defaultMessage": "!!!Save wallet", "file": "src/features/SetupWallet/SetupWalletNavigator.tsx", "start": { - "line": 176, + "line": 182, "column": 18, - "index": 6196 + "index": 6396 }, "end": { - "line": 179, + "line": 185, "column": 3, - "index": 6307 + "index": 6507 } } ] \ No newline at end of file