mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
FIX: Disregarding curent denomination on send screen, scanning address always resets it to BTC (closes #2088)
This commit is contained in:
parent
1b465c06a9
commit
6a7efaed91
@ -278,11 +278,10 @@ export default class SendDetails extends Component {
|
||||
if (this.state.fromWallet.isAddressValid(dataWithoutSchema)) {
|
||||
recipients[[this.state.recipientsScrollIndex]].address = dataWithoutSchema;
|
||||
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({
|
||||
address: recipients,
|
||||
isLoading: false,
|
||||
amountUnit: BitcoinUnit.BTC,
|
||||
units,
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user