Skip to content

Fix wallet menu icons missing on Android - #6305

Open
j0ntz wants to merge 3 commits into
developfrom
jon/fix-android-wallet-menu-icons
Open

j0ntz wants to merge 3 commits into
developfrom
jon/fix-android-wallet-menu-icons

Conversation

@j0ntz

@j0ntz j0ntz commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Asana task

On Android 4.52.2, every row of the wallet options sheet except Wallet Settings shows a blank space where its icon belongs. iOS is fine.

7a2cbf14a moved WalletListMenuModal to <VectorIcon font="anticon"> to clear a lint warning. react-native-vector-icons names each font by family on iOS (anticon) and by file on Android (AntDesign). On Android the font lookup missed and VectorIcon drew an empty glyph.

VectorIcon now accepts either name on either platform and renders with the name the current platform uses. The modal keeps rendering through VectorIcon, which preserves the lint goal of that commit. Six fonts have differing names (AntDesign, Foundation, MaterialCommunityIcons, MaterialIcons, SimpleLineIcons, Zocial), and all six are covered.

The first commit fixes scripts/updateEslintWarnings.ts. It removed a committed file from every list in eslint.config.mjs, which would have dropped VectorIcon.tsx from the icon wrappers' import exemption on commit. The script now touches only the warnings list.

The CHANGELOG entry sits under a new undated ## 4.52.3 section because the task targets that release. /point-release expects GUI entries under ## Unreleased (develop) and writes the dated section itself. A point release needs this section moved to Unreleased first, or develop ends up with two 4.52.3 sections.

Tested on an iOS simulator and an Android emulator, not on physical devices. The BTC wallet options sheet shows an icon on all eight rows on both.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Test evidence

3c5d1cc
Fix wallet menu icons missing on Android
2026-10-30

2. ios wallet options icons

3. android wallet options icons

j0ntz added 3 commits October 30, 2026 14:39
updateEslintWarnings.ts removed a committed file from every list in
eslint.config.mjs. Committing VectorIcon.tsx therefore also dropped
it from the shared icon wrappers' import exemption. Limit the removal
to the warnings list.
WalletListMenuModal passes the AntDesign font's iOS name, anticon,
to VectorIcon. The icon library names fonts by file on Android, so
the lookup missed and the rows rendered blank. Accept either name on
either platform, and render with the current platform's name.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-30T23:20:39.047806Z
We couldn’t complete this review. Comment @codex review to try again.
3c5d1cc PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@j0ntz j0ntz left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed before review (1)
  • src/__tests__/components/VectorIcon.test.tsx: untyped any for the rendered test output. Folded into "Fix wallet menu icons missing on Android".

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.

1 participant