fix pre-send value sync in send page for fiat input mode (#3088)

This commit is contained in:
malik1004x
2026-03-14 13:37:14 +01:00
committed by GitHub
parent 4d61345f30
commit a60d97aca4
+5 -1
View File
@@ -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;
}
}
}