mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Merge pull request #2590 from devinbileck/no-trading-account-for-selected-currency
Show close button when creating offer without required account
This commit is contained in:
commit
55c54356a1
@ -408,11 +408,12 @@ public class OfferBookView extends ActivatableViewAndModel<GridPane, OfferBookVi
|
||||
createOfferButton.setDisable(true);
|
||||
offerActionHandler.onCreateOffer(model.getSelectedTradeCurrency());
|
||||
})
|
||||
.closeButtonText(Res.get("offerbook.setupNewAccount"))
|
||||
.onClose(() -> {
|
||||
.secondaryActionButtonText(Res.get("offerbook.setupNewAccount"))
|
||||
.onSecondaryAction(() -> {
|
||||
navigation.setReturnPath(navigation.getCurrentPath());
|
||||
navigation.navigateTo(MainView.class, AccountView.class, FiatAccountsView.class);
|
||||
})
|
||||
.width(725)
|
||||
.show();
|
||||
} else if (!model.hasAcceptedArbitrators()) {
|
||||
new Popup<>().warning(Res.get("popup.warning.noArbitratorsAvailable")).show();
|
||||
|
Loading…
Reference in New Issue
Block a user