stop busy animation on reset payment state

This commit is contained in:
woodser 2024-05-06 07:57:18 -04:00
parent 78ec06b851
commit 6b34651101
2 changed files with 4 additions and 0 deletions

View file

@ -148,6 +148,8 @@ public class BuyerStep2View extends TradeStepView {
timeoutTimer.stop(); timeoutTimer.stop();
if (trade.isDepositsUnlocked() && !trade.isPaymentSent()) { if (trade.isDepositsUnlocked() && !trade.isPaymentSent()) {
busyAnimation.stop();
statusLabel.setText("");
showPopup(); showPopup();
} else if (state.ordinal() <= Trade.State.SELLER_RECEIVED_PAYMENT_SENT_MSG.ordinal()) { } else if (state.ordinal() <= Trade.State.SELLER_RECEIVED_PAYMENT_SENT_MSG.ordinal()) {
switch (state) { switch (state) {

View file

@ -109,6 +109,8 @@ public class SellerStep3View extends TradeStepView {
timeoutTimer.stop(); timeoutTimer.stop();
if (trade.isPaymentSent() && !trade.isPaymentReceived()) { if (trade.isPaymentSent() && !trade.isPaymentReceived()) {
busyAnimation.stop();
statusLabel.setText("");
showPopup(); showPopup();
} else if (trade.isPaymentReceived()) { } else if (trade.isPaymentReceived()) {
if (trade.isCompleted()) { if (trade.isCompleted()) {