Skip to content

fix(buy): lead the Get receipt with what you pay - #631

Merged
bmc08gt merged 1 commit into
mainfrom
fix/get-receipt-anchor-order
Aug 22, 2026
Merged

fix(buy): lead the Get receipt with what you pay#631
bmc08gt merged 1 commit into
mainfrom
fix/get-receipt-anchor-order

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

The Get receipt anchored on "You Get" and closed with "You Pay", so the figure that actually leaves your balance was the last thing read — and when a conversion fee applies, the breakdown sat above the total it decomposes rather than below it.

Swap the two anchors. Get now reads the same way as the Convert receipt: the outgoing side on top, its breakdown underneath, the incoming side last.

The padding modifiers stay with the positions rather than the content, so the card's spacing is unchanged — the top anchor keeps its 24pt top pad, and the bottom anchor keeps the chargesFee ? 0 : 24 top pad that closes the gap when no breakdown is present.

No test changes needed: BuyConfirmationUIScreen matches "You Pay" by label prefix, not by position.


Android half: code-payments/code-android-app#1312. Both platforms swap the same two anchors; land them together so the Get receipt doesn't read differently on each.

The Get receipt anchored on "You Get" and closed with "You Pay", so the
figure that leaves your balance was the last thing read — and the fee
breakdown sat above the total it decomposes rather than below it.

Swap the two anchors. Get now reads the same way as Convert: the outgoing
side on top, its breakdown underneath, the incoming side last.

The padding stays with the positions, not the content, so the card's
spacing is unchanged.
@bmc08gt
bmc08gt merged commit 67b659e into main Aug 22, 2026
@bmc08gt
bmc08gt deleted the fix/get-receipt-anchor-order branch August 22, 2026 16:25
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