Skip to content

feat(navbar): fill each tab's glyph only while it is selected - #1348

Merged
bmc08gt merged 1 commit into
code/cashfrom
feat/navbar-selected-icons
Aug 27, 2026
Merged

feat(navbar): fill each tab's glyph only while it is selected#1348
bmc08gt merged 1 commit into
code/cashfrom
feat/navbar-selected-icons

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

The tab bar mixed weights: the wallet and tip card were fills, the scanner and chat outlines. Nothing about a glyph told you which tab was active — selection was carried entirely by the pill behind it and a half-alpha dim on the other three.

Every tab now has both weights and picks one from its selection state:

Tab Unselected Selected
Scanner ic_nav_scan ic_nav_scan_selected (node 8966:1366)
Wallet ic_nav_wallet (node 9442:103674) ic_nav_wallet_selected
Chats ic_nav_chat ic_nav_chat_selected (node 8966:99595)
You ic_nav_tipcard ic_nav_tipcard_selected (node 8966:2774)

The unsuffixed name is the outline throughout, which is why the wallet's existing fill moved to ic_nav_wallet_selected rather than the new outline taking a suffix: ic_nav_scan keeps pointing at the weight the Finish Your Profile card reuses, and the naming reads the same for all four tabs.

NavBarButton.icon becomes icon(selected: Boolean). The alpha dim is unchanged and still stacks on top.

Touches the same lines of NavigationBar.kt as #1347, which wraps that Image in a branch for the profile avatar — whichever merges second will need a small conflict resolution there.

The wallet and tip card were drawn as fills and the scanner and chat as
outlines, so the weight of a glyph said nothing about which tab was active --
selection was carried by the pill and a half-alpha dim alone. Every tab now
ships both weights and switches on selection, matching nodes 9442:103674
(wallet outline) and 8966:1366 / 8966:99595 / 8966:2774 (the solid twins).

The unsuffixed drawable is the outline, so `ic_nav_scan` keeps pointing at the
weight the Finish Your Profile card reuses.
@bmc08gt bmc08gt self-assigned this Aug 27, 2026
@github-actions github-actions Bot added the type: feature New functionality label Aug 27, 2026
@bmc08gt
bmc08gt merged commit cc7ec16 into code/cash Aug 27, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the feat/navbar-selected-icons branch August 27, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant