Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Ethereum bugfix: show all internal transactions that share the same transaction ID
- Allow up to 6 unused BTC/LTC accounts (previously 5)
- Add support for New Zealand Dollar (NZD)
- Fix empty suggested name for BTC account when only BTC is supported by the BitBox.

## v4.48.4
- macOS: fix potential USB communication issue with BitBox02 bootloaders <v1.1.2 and firmwares <v9.23.1
Expand Down
10 changes: 7 additions & 3 deletions frontends/web/src/routes/account/add/add.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const AddAccount = ({ accounts }: TAddAccountGuide) => {
setStep(onlyOneCoinIsSupported ? 'choose-name' : 'select-coin');
setSupportedCoins(coins);
if (onlyOneCoinIsSupported) {
setAccountCode(coins[0].suggestedAccountName);
setAccountName(coins[0].suggestedAccountName);
}
inputRef.current?.focus();
} catch (err) {
Expand All @@ -91,8 +91,12 @@ export const AddAccount = ({ accounts }: TAddAccountGuide) => {
navigate(-1);
break;
case 'choose-name':
setStep('select-coin');
setErrorMessage(undefined);
if (onlyOneSupportedCoin()) {
navigate(-1);
} else {
setStep('select-coin');
setErrorMessage(undefined);
}
break;
case 'success':
setStep('choose-name');
Expand Down