fix pre-send value sync in send page for fiat input mode (#3088)
malik1004x committed
Mar 14, 2026 at 13:37 UTC
a60d97aca486a6e1f06163abf4ba1bcbf3342b3b
1 file changed
+5
-1
lib/new-ui/pages/send_page.dart
+5
-1
@@ -689,7 +689,11 @@ class _NewSendPageState extends State<NewSendPage> {
689
690
for(int i=0; i<widget.sendViewModel.outputs.length; i++) {
691
if(i < _amountControllers.length) {
692
- widget.sendViewModel.outputs[i].cryptoAmount = _amountControllers[i].text;
692
+ if(_fiatInputMode) {
693
+ widget.sendViewModel.outputs[i].setFiatAmount(_amountControllers[i].text);
694
+ } else {
695
+ widget.sendViewModel.outputs[i].cryptoAmount = _amountControllers[i].text;
696
+ }
697
}
698
}
699