Merge pull request #785 from lbryio/two_decimals

Change header balance to 2 decimal places
This commit is contained in:
Jeremy Kauffman 2017-11-27 09:24:33 -05:00 committed by GitHub
commit af43f284e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -12,8 +12,8 @@ Web UI version numbers should always match the corresponding version of LBRY App
*
### Changed
* The credit balance displayed in the main app navigation displays two decimal places instead of one.
* Moved all redux code into /redux folder
*
### Fixed
* Long channel names causing inconsistent thumbnail sizes (#721)

View file

@ -19,7 +19,7 @@ const select = state => ({
isBackDisabled: selectIsBackDisabled(state),
isForwardDisabled: selectIsForwardDisabled(state),
isUpgradeAvailable: selectIsUpgradeAvailable(state),
balance: formatCredits(selectBalance(state) || 0, 1),
balance: formatCredits(selectBalance(state) || 0, 2),
});
const perform = dispatch => ({