mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 19:49:32 +00:00
stop busy animation on reset payment state
This commit is contained in:
parent
78ec06b851
commit
6b34651101
2 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue