mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 12:18:10 +01:00
Merge branch 'master' into viewinvoicehooks
This commit is contained in:
commit
77c30cb1cf
1 changed files with 1 additions and 2 deletions
|
@ -281,11 +281,10 @@ export default class SendDetails extends Component {
|
||||||
if (this.state.fromWallet.isAddressValid(dataWithoutSchema)) {
|
if (this.state.fromWallet.isAddressValid(dataWithoutSchema)) {
|
||||||
recipients[[this.state.recipientsScrollIndex]].address = dataWithoutSchema;
|
recipients[[this.state.recipientsScrollIndex]].address = dataWithoutSchema;
|
||||||
const units = this.state.units;
|
const units = this.state.units;
|
||||||
units[this.state.recipientsScrollIndex] = BitcoinUnit.BTC; // also resetting current unit to BTC
|
units[this.state.recipientsScrollIndex] = this.state.amountUnit;
|
||||||
this.setState({
|
this.setState({
|
||||||
address: recipients,
|
address: recipients,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
amountUnit: BitcoinUnit.BTC,
|
|
||||||
units,
|
units,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue