fix(WebPlatformPlayer): Fixing account names in account selection in … #8445
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…Webviews
✅ Checklist
npx changeset
was attached.📝 Description
The webview running the dapp-browser enables the selection of accounts.
The names of the accounts were previously gatheres using the
getDefaultAccountName
function that builds the account name by concatenating the currency of the account with an index.This was confusing to users as the name built this way did not match the user-given names to the account.
The current fix enable users to display the selected accounts with their user-given names.
BEFORE
https://github.com/user-attachments/assets/73eec2b9-dcc2-42e3-8e53-c0e304da4bf9
AFTER
https://github.com/user-attachments/assets/6561b8ee-a288-4b9c-8947-28d872ef2950
❓ Context
https://ledgerhq.atlassian.net/browse/LIVE-14998
🧐 Checklist for the PR Reviewers