Skip to content

Conversation

bznein
Copy link
Collaborator

@bznein bznein commented Sep 1, 2025

When there is only one coin supported, we want the back button on the choose name step to close the dialog. And we want the account name to be suggested.

Before asking for reviews, here is a check list of the most common things you might need to consider:

  • updating the Changelog
  • writing unit tests
  • checking if your changes affect other coins or tokens in unintended ways
  • testing on multiple environments (Qt, Android, ...)
  • having an AI review your changes

@bznein bznein requested a review from thisconnect September 1, 2025 15:12
@@ -69,6 +69,7 @@ export const AddAccount = ({ accounts }: TAddAccountGuide) => {
setSupportedCoins(coins);
if (onlyOneCoinIsSupported) {
setAccountCode(coins[0].suggestedAccountName);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks to me that you found a bug and this line was intended to set setAccountName and not account code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thisconnect I agree, I removed this line and replaced it with just setAccountName. Ready for review again :)

… BTC-only.

When there is only one coin supported, we want the back button on the
choose name step to close the dialog. And we want the account name to be suggested.
Copy link
Collaborator

@thisconnect thisconnect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested 082d721 LGTM thank you

@bznein bznein merged commit 9ea6a4b into BitBoxSwiss:master Sep 3, 2025
10 checks passed
@bznein bznein deleted the addaccount branch September 3, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants