HomePhabricator

[Cashtab] More refinements to spot price presentation in agora

Description

[Cashtab] More refinements to spot price presentation in agora

Summary:
Make prices of exact integers more easily distinguishable from prices of almost integers. A price of exactly 1 XEC should be easily distinguishable from a price of 1.0035 XEC.

Update the API of getMinimumFractionDigits to not support any arbitary max. More appropriate to its use case here to take a switch of fiat or xec.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17447

Details

Provenance
bytesofmanAuthored on Wed, Jan 1, 13:03
bytesofmanPushed on Wed, Jan 1, 14:36
Reviewer
Restricted Project
Differential Revision
D17447: [Cashtab] More refinements to spot price presentation in agora
Parents
rABCd72d9d5b7883: [cashtab] Don't open agora offers on a new tab
Branches
Unknown
Tags
Unknown