mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
update optimization buttons after max button pressed
This commit is contained in:
parent
1c7abc1b24
commit
58f20dab60
1 changed files with 4 additions and 0 deletions
|
@ -392,6 +392,10 @@ public class SendController extends WalletFormController implements Initializabl
|
||||||
|
|
||||||
setFeeRate(feeRate);
|
setFeeRate(feeRate);
|
||||||
setEffectiveFeeRate(walletTransaction);
|
setEffectiveFeeRate(walletTransaction);
|
||||||
|
|
||||||
|
if(walletTransaction.getPayments().stream().anyMatch(Payment::isSendMax)) {
|
||||||
|
updateOptimizationButtons(getPayments());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
transactionDiagram.update(walletTransaction);
|
transactionDiagram.update(walletTransaction);
|
||||||
|
|
Loading…
Reference in a new issue