mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
FIX: issue with comma instead of dot when creating transaction; closes #16
This commit is contained in:
parent
bacad27f90
commit
0897e5a5d2
1 changed files with 6 additions and 2 deletions
|
@ -199,14 +199,18 @@ export default class SendDetails extends Component {
|
|||
/>
|
||||
|
||||
<BlueFormInput
|
||||
onChangeText={text => this.setState({ amount: text })}
|
||||
onChangeText={text =>
|
||||
this.setState({ amount: text.replace(',', '.') })
|
||||
}
|
||||
keyboardType={'numeric'}
|
||||
placeholder={loc.send.details.amount_placeholder}
|
||||
value={this.state.amount + ''}
|
||||
/>
|
||||
|
||||
<BlueFormInput
|
||||
onChangeText={text => this.setState({ fee: text })}
|
||||
onChangeText={text =>
|
||||
this.setState({ fee: text.replace(',', '.') })
|
||||
}
|
||||
keyboardType={'numeric'}
|
||||
placeholder={loc.send.details.fee_placeholder}
|
||||
value={this.state.fee + ''}
|
||||
|
|
Loading…
Add table
Reference in a new issue