mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix pre-send value sync in send page for fiat input mode (#3088)
This commit is contained in:
@@ -689,7 +689,11 @@ class _NewSendPageState extends State<NewSendPage> {
|
||||
|
||||
for(int i=0; i<widget.sendViewModel.outputs.length; i++) {
|
||||
if(i < _amountControllers.length) {
|
||||
widget.sendViewModel.outputs[i].cryptoAmount = _amountControllers[i].text;
|
||||
if(_fiatInputMode) {
|
||||
widget.sendViewModel.outputs[i].setFiatAmount(_amountControllers[i].text);
|
||||
} else {
|
||||
widget.sendViewModel.outputs[i].cryptoAmount = _amountControllers[i].text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user