Merge pull request #6641 from helixx87/6629-fix-close-button-after-offer-creation

Fix close button behaviour on successful offer creation popup
This commit is contained in:
Alejandro García 2023-04-15 02:28:41 +00:00 committed by GitHub
commit 28bb0a60fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -804,7 +804,7 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
.dontShowAgainId(key)
.actionButtonTextWithGoTo("navigation.portfolio.myOpenOffers")
.onAction(this::closeAndGoToOpenOffers)
.onClose(this::closeAndGoToOpenOffers)
.onClose(this::close)
.show(),
1);
} else {

View File

@ -315,7 +315,7 @@ public class BsqSwapCreateOfferView extends BsqSwapOfferView<BsqSwapCreateOfferV
.dontShowAgainId(key)
.actionButtonTextWithGoTo("navigation.portfolio.myOpenOffers")
.onAction(this::closeAndGoToOpenOffers)
.onClose(this::closeAndGoToOpenOffers)
.onClose(this::close)
.show(),
1, TimeUnit.SECONDS);
} else {