Skip to content

Commit

Permalink
CR: update
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Apr 16, 2024
1 parent 2717b33 commit b3110de
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 93 deletions.
Expand Up @@ -42,6 +42,7 @@ export const ChooseSetupTypeScreen = () => {
return
}

// On production the step of network is skipped
navigation.navigate('setup-wallet-create-choose-network')
}

Expand All @@ -54,6 +55,7 @@ export const ChooseSetupTypeScreen = () => {
return
}

// On production the step of network is skipped
navigation.navigate('setup-wallet-restore-choose-network')
}

Expand All @@ -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 (
Expand Down
80 changes: 40 additions & 40 deletions apps/wallet-mobile/translations/messages/src/WalletNavigator.json
Expand Up @@ -4,149 +4,149 @@
"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
}
},
{
"id": "components.txhistory.txnavigationbuttons.sendButton",
"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
}
},
{
"id": "components.txhistory.txnavigationbuttons.receiveButton",
"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
}
},
{
"id": "components.common.navigation.dashboardButton",
"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
}
},
{
"id": "components.common.navigation.delegateButton",
"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
}
},
{
"id": "components.settings.walletsettingscreen.tabTitle",
"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
}
},
{
"id": "global.staking",
"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
}
},
{
"id": "components.common.navigation.nftGallery",
"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
}
},
{
"id": "menu",
"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
}
},
{
"id": "components.walletselection.walletselectionscreen.header",
"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
}
}
]

0 comments on commit b3110de

Please sign in to comment.