fix: cash and token rows have different bold#27736
Merged
PatrykLucka merged 1 commit intoMar 20, 2026
Merged
Conversation
…le handling and improve MusdAggregatedRow layout
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Contributor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
Contributor
|
✅ E2E Fixture Validation — Schema is up to date |
|
Matt561
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
BodyMDBold), while token list rows (TokenListItemV2) use medium weight for primary fiat (BodyMDMedium), so Cash looked heavier than the rest of the wallet.gap-5vs avatar,gap-0.5between lines) did not match the two-line token row pattern (flex-1 ml-5,gap-2.5on each row).useMusdBalanceformatted currency withI18n.locale(e.g.en-US). TokenbalanceFiatusesformatWithThresholdwithgetLocaleLanguageCode()elsewhere in the assets flow. That mismatch could produce inconsistent currency symbols (e.g.US$vs$) between Cash and token rows.Solution
MusdAggregatedRow: MatchTokenListItemV2’s text column:flex-1 ml-5, two rows withjustifyContent={Between}andtwClassName="gap-2.5"; primary fiat usesBodyMDMedium; the second row wraps claim / spinner / APY in an innerBoxso the token amount stays right-aligned like the list.useMusdBalance: ReplaceI18n.localewithgetLocaleLanguageCode()for allformatWithThresholdfiat formatting (per-chain and aggregated) so Cash uses the same locale strategy as token fiat balances.Changelog
CHANGELOG entry: Updated Cash (mUSD) row typography and layout to match the token list and aligned aggregated mUSD fiat formatting with token balance locale handling.
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TMCU-579
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI/formatting changes: adjusts Cash mUSD row layout/typography and switches fiat formatting locale helper; no business logic or data flows are changed beyond display formatting.
Overview
Updates the Homepage Cash section’s mUSD aggregated row to visually match
TokenListItemV2, including spacing, two-line structure, and changing the primary fiat amount from bold to medium weight while keeping the right-side token amount aligned.Standardizes mUSD fiat formatting in
useMusdBalanceby replacingI18n.localewithgetLocaleLanguageCode()for per-chain and aggregatedformatWithThresholdcalls, aligning currency symbol/locale behavior with token list fiat displays.Written by Cursor Bugbot for commit 8305a44. This will update automatically on new commits. Configure here.