Commit 1de4b18
fix: apply tokenBalanceTextProps only to TokenBalanceView, not FiatBalanceView
When inlining the balance text style logic, tokenBalanceTextProps overrides
were incorrectly applied to FiatBalanceView instances too. Only TokenBalanceView
should receive the caller-supplied text overrides (variant/color/style); fiat
balance views must always use the plain base constants.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 61ddee3 commit 1de4b18
1 file changed
Lines changed: 6 additions & 24 deletions
Lines changed: 6 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
489 | 480 | | |
490 | 481 | | |
491 | 482 | | |
| |||
519 | 510 | | |
520 | 511 | | |
521 | 512 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
534 | 516 | | |
535 | 517 | | |
536 | 518 | | |
| |||
0 commit comments