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();
if (trade.isDepositsUnlocked() && !trade.isPaymentSent()) {
busyAnimation.stop();
statusLabel.setText("");
showPopup();
} else if (state.ordinal() <= Trade.State.SELLER_RECEIVED_PAYMENT_SENT_MSG.ordinal()) {
switch (state) {

View file

@ -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()) {