Skip to content

fix: resolve third-party hardware wallet avatars per device model OK-60448 - #12912

Merged
originalix merged 3 commits into
hotfix/v6.5.2from
optimize/trezor-loader-icon-on-hotfix652
Aug 18, 2026
Merged

fix: resolve third-party hardware wallet avatars per device model OK-60448#12912
originalix merged 3 commits into
hotfix/v6.5.2from
optimize/trezor-loader-icon-on-hotfix652

Conversation

@ByteZhang1024

@ByteZhang1024 ByteZhang1024 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

OK-60448


Ledger and Trezor wallets all shared one generic placeholder image regardless of physical model. Add a resolver that maps the device's persisted vendorModel (SDK code) / vendorModelName to a per-model avatar key, fix refillWalletInfo (which ran on every wallet read) to stop forcing avatars back to the generic vendor key, and wire the resolver through onboarding scan lists, BLE binding, and the Tray.

Ledger and Trezor wallets all shared one generic placeholder image
regardless of physical model. Add a resolver that maps the device's
persisted vendorModel (SDK code) / vendorModelName to a per-model
avatar key, fix refillWalletInfo (which ran on every wallet read) to
stop forcing avatars back to the generic vendor key, and wire the
resolver through onboarding scan lists, BLE binding, and the Tray.
@ByteZhang1024 ByteZhang1024 changed the title fix: resolve third-party hardware wallet avatars per device model fix: resolve third-party hardware wallet avatars per device model OK-60448 Aug 17, 2026
@sidmorizon

Copy link
Copy Markdown
Contributor

@codex review

@sidmorizon

Copy link
Copy Markdown
Contributor

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4753d0e448

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/shared/src/utils/avatarUtils.ts Outdated
The ledger/trezor fallback keys pointed at the new Nano X / Safe 7
artwork, so an unrecognized or metadata-less device would render as
that specific model instead of a neutral placeholder. Restore the
original generic placeholder art for the two fallback keys and add a
regression test asserting they stay byte-distinct from any
specific-model asset.
@zhaono1
zhaono1 enabled auto-merge (squash) August 18, 2026 01:42
@originalix
originalix disabled auto-merge August 18, 2026 02:42
@originalix
originalix merged commit c31aac2 into hotfix/v6.5.2 Aug 18, 2026
15 checks passed
@originalix
originalix deleted the optimize/trezor-loader-icon-on-hotfix652 branch August 18, 2026 02:42
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.

4 participants