mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Restored value
This commit is contained in:
parent
3efb9ccfde
commit
47876f2306
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@ let BigNumber = require('bignumber.js');
|
|||
let BlueApp = require('../../BlueApp');
|
||||
let loc = require('../../loc');
|
||||
let bitcoin = require('bitcoinjs-lib');
|
||||
let currency = require('../../currency');
|
||||
|
||||
const btcAddressRx = /^[a-zA-Z0-9]{26,35}$/;
|
||||
|
||||
|
@ -445,7 +444,7 @@ export default class SendDetails extends Component {
|
|||
placeholder="0"
|
||||
maxLength={10}
|
||||
editable={!this.state.isLoading}
|
||||
// value={loc.formatBalanceWithoutSuffix(this.state.amount || 0 + '', BitcoinUnit.BTC, BitcoinUnit.BTC)}
|
||||
value={loc.formatBalanceWithoutSuffix(Number(this.state.amount || 0), BitcoinUnit.BTC, BitcoinUnit.BTC).toString()}
|
||||
placeholderTextColor="#0f5cc0"
|
||||
style={{
|
||||
color: '#0f5cc0',
|
||||
|
|
Loading…
Add table
Reference in a new issue