forked from digitalbitbox/bitbox-wallet-app
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend/account: fix CanSend and Buy call to action
Since recently, BTC amounts are returned with trailing zeroes, so the `'0'` string comparison stopped working to check if there is a balance. Similar to `hasAvailable`, the backend should deliver the information.
- Loading branch information
Showing
4 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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