fix the UI issue with sending outputs (#1798)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

This commit is contained in:
Serhii 2024-11-11 19:39:45 +02:00 committed by GitHub
parent 89525b1897
commit e148f64508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -404,8 +404,7 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
final updatedOutputs = bitcoin!.updateOutputs(pendingTransaction!, outputs);
if (outputs.length == updatedOutputs.length) {
outputs.clear();
outputs.addAll(updatedOutputs);
outputs.replaceRange(0, outputs.length, updatedOutputs);
}
}