From 6b346511017eb50bbb3e4872f210b27e48c34ef7 Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 6 May 2024 07:57:18 -0400 Subject: [PATCH] stop busy animation on reset payment state --- .../portfolio/pendingtrades/steps/buyer/BuyerStep2View.java | 2 ++ .../portfolio/pendingtrades/steps/seller/SellerStep3View.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java b/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java index 1ee4943d..6ac2256d 100644 --- a/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java +++ b/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java @@ -148,6 +148,8 @@ public class BuyerStep2View extends TradeStepView { timeoutTimer.stop(); if (trade.isDepositsUnlocked() && !trade.isPaymentSent()) { + busyAnimation.stop(); + statusLabel.setText(""); showPopup(); } else if (state.ordinal() <= Trade.State.SELLER_RECEIVED_PAYMENT_SENT_MSG.ordinal()) { switch (state) { diff --git a/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java b/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java index 76923d24..56617dd6 100644 --- a/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java +++ b/desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java @@ -109,6 +109,8 @@ public class SellerStep3View extends TradeStepView { timeoutTimer.stop(); if (trade.isPaymentSent() && !trade.isPaymentReceived()) { + busyAnimation.stop(); + statusLabel.setText(""); showPopup(); } else if (trade.isPaymentReceived()) { if (trade.isCompleted()) {