You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d0cd69
Browse filesBrowse the repository at this point in the historyBrowse files
feat(deposit): invert the conversion graphic for USDC deposits (#620)
* feat(deposit): show a USDC to Dollars conversion graphic
The USDC deposit education screen, reached from Add Money -> Other
Wallet, pointed its arrow the wrong way for a deposit and spelled the
reserve as "USDF".
Both this screen and WithdrawIntroScreen carried their own private copy
of the same two-coins-and-an-arrow art, so promote it to FlipcashUI as
ConversionGraphic, parameterised by which coin sits on each side, and
have both call it. Mirrors the Android component of the same name.
Copy drops the USDF branding. The "Deposit USDC" title stays as-is; the
UI-test page object asserts on it.
* fix(swap): drop the "of X" suffix when a swap lands in Dollars
The processing success title reads "<amount> of <currency>", which names
what the user received. That only helps when the destination is a
community currency: adding money and converting into the reserve both
rendered "$1.00 of Dollars", where the amount alone already said it.
Suppress the suffix for those two, keeping it everywhere it still reads
correctly. A convert already carries its destination as targetMint, so
the check costs nothing to thread through.
0 commit comments