Skip to content

fix(txn-details): drop the token badge from the header avatar - #1435

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/txn-details-avatar-badge
Sep 9, 2026
Merged

fix(txn-details): drop the token badge from the header avatar#1435
bmc08gt merged 1 commit into
code/cashfrom
fix/txn-details-avatar-badge

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The Transaction Details header drew the mint as a small coin badged over the avatar's bottom-right corner — the same badge the activity row uses. On this screen it says nothing new: the line directly under the amount already names the token ("Aug 29 • Jeffy"). Figma 9708:117414 draws the header avatar bare, an 80×80 circle with no coin.

The activity row keeps its badge. There the badge is the only thing naming the token, and TransactionAvatar's own docs give the reason — without it every tip reads the same whether it was dollars or a creator coin.

TransactionAvatarImage is shared between the row and the details screen it opens, so this adds a showBadge parameter rather than changing TransactionAvatar.badgeToken, which the row still needs. With the badge off the slot collapses to the avatar's own size, since there is nothing left to overhang; that also removes the 10dp of dead space the header was carrying between the avatar and the name.

Convert entries are unaffected — their overlapping token pair is the avatar itself, not a badge.

The details header drew the mint as a coin over the avatar's bottom-right
corner, the same badge the activity row uses. On this screen it is redundant:
the line under the amount already names the token ("Aug 29 • Jeffy"), so the
badge repeats it. Figma 9708:117414 draws the header avatar bare — an 80x80
circle with no coin.

The row keeps the badge, where it is the only thing naming the token; without
it every tip reads the same whether it was dollars or a creator coin.

TransactionAvatarImage is shared between the two, so this adds showBadge rather
than changing the model. The slot collapses to the avatar's own size when the
badge is off, since there is then nothing to overhang — which also drops the
10dp of dead space the header was carrying above the name.
@bmc08gt bmc08gt self-assigned this Sep 8, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Sep 8, 2026
@bmc08gt
bmc08gt merged commit dc3ae8b into code/cash Sep 9, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the fix/txn-details-avatar-badge branch September 9, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant