Prevent reset offer values after switch to same currency payment account

This commit is contained in:
xyzmaker123 2022-01-20 12:06:51 +01:00
parent ae2a12110a
commit e993773d9f
No known key found for this signature in database
GPG Key ID: 47689699B7B0AAFC

View File

@ -329,10 +329,6 @@ public abstract class MutableOfferDataModel extends OfferDataModel implements Bs
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;