Skip to content

Commit

Permalink
Merge pull request #5983 from xyzmaker123/5973-edit-offer-button-disa…
Browse files Browse the repository at this point in the history
…bility-fix

Prevent reset offer values after switch to same currency payment account
  • Loading branch information
ripcurlx authored Jan 26, 2022
2 parents ffd2a92 + e993773 commit 44b02b3
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,6 @@ void onPlaceOffer(Offer offer, TransactionResultHandler resultHandler) {

void onPaymentAccountSelected(PaymentAccount paymentAccount) {
if (paymentAccount != null && !this.paymentAccount.equals(paymentAccount)) {
volume.set(null);
minVolume.set(null);
price.set(null);
marketPriceMargin = 0;
preferences.setSelectedPaymentAccountForCreateOffer(paymentAccount);
this.paymentAccount = paymentAccount;

Expand Down

0 comments on commit 44b02b3

Please sign in to comment.