Skip to content

Commit

Permalink
Change action button's text in EasyBisq noMediatorAvailable popup
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Jan 2, 2024
1 parent f71ceaf commit 404230f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ public void takeOffer(Runnable onCancelHandler) {
Optional<UserProfile> mediator = mediationRequestService.selectMediator(bisqEasyOffer.getMakersUserProfileId(), takerIdentity.getId());
if (mediator.isEmpty()) {
new Popup().warning(Res.get("bisqEasy.takeOffer.noMediatorAvailable.warning"))
.closeButtonText(Res.get("confirmation.no"))
.closeButtonText(Res.get("action.cancel"))
.onClose(onCancelHandler)
.actionButtonText(Res.get("confirmation.yes"))
.actionButtonText(Res.get("confirmation.ok"))
.onAction(() -> doTakeOffer(bisqEasyOffer, takerIdentity, mediator))
.show();
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ public void takeOffer() {
Optional<UserProfile> mediator = mediationRequestService.selectMediator(bisqEasyOffer.getMakersUserProfileId(), takerIdentity.getId());
if (mediator.isEmpty()) {
new Popup().warning(Res.get("bisqEasy.takeOffer.noMediatorAvailable.warning"))
.closeButtonText(Res.get("confirmation.no"))
.actionButtonText(Res.get("confirmation.yes"))
.closeButtonText(Res.get("action.cancel"))
.actionButtonText(Res.get("confirmation.ok"))
.onAction(() -> doTakeOffer(bisqEasyOffer, takerIdentity, mediator))
.show();
} else {
Expand Down

0 comments on commit 404230f

Please sign in to comment.