Skip to content

Commit

Permalink
Merge pull request #1631 from ripcurlx/also-update-min-amount-when-fo…
Browse files Browse the repository at this point in the history
…cus-out-of-amount-field

Force update of minimum amount field when leaving maximum amount field
  • Loading branch information
ManfredKarrer authored Aug 16, 2018
2 parents 63acd56 + 5093e5b commit 2bed203
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,10 @@ void onFocusOutAmountTextField(boolean oldValue, boolean newValue) {
minAmountValidationResult.set(isBtcInputValid(minAmount.get()));
}
// We want to trigger a recalculation of the volume
UserThread.execute(() -> onFocusOutVolumeTextField(true, false));
UserThread.execute(() -> {
onFocusOutVolumeTextField(true, false);
onFocusOutMinAmountTextField(true, false);
});
}
}

Expand Down

0 comments on commit 2bed203

Please sign in to comment.