Skip to content

Commit

Permalink
Merge pull request #4182 from jmacxx/fix_issue_2798
Browse files Browse the repository at this point in the history
Editing an offer should not allow the BTC amount to be changed
  • Loading branch information
sqrrm authored May 11, 2020
2 parents d51c4c8 + 7551cdc commit 6d108ea
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -812,9 +812,10 @@ void onFocusOutPriceTextField(boolean oldValue, boolean newValue) {
// We want to trigger a recalculation of the volume and minAmount
UserThread.execute(() -> {
onFocusOutVolumeTextField(true, false);
// We also need to update minAmount
onFocusOutAmountTextField(true, false);
onFocusOutMinAmountTextField(true, false);
// do not update BTC Amount or minAmount here
// issue 2798: "after a few edits of offer the BTC amount has increased"
// intentionally removed: onFocusOutAmountTextField(true, false);
// intentionally removed: onFocusOutMinAmountTextField(true, false);
});
}
}
Expand Down

0 comments on commit 6d108ea

Please sign in to comment.