From 348d1477e100b204430600561f272a317d75a955 Mon Sep 17 00:00:00 2001 From: Christoph Atteneder Date: Tue, 19 Apr 2022 10:18:33 +0200 Subject: [PATCH] Fix broken option for BSQ Altcoin and BSQ Altcoin Instant --- desktop/src/main/java/bisq/desktop/main/offer/OfferView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/offer/OfferView.java b/desktop/src/main/java/bisq/desktop/main/offer/OfferView.java index da497d6a4e..f9ae9a33ed 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/OfferView.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/OfferView.java @@ -294,8 +294,8 @@ public abstract class OfferView extends ActivatableView { View view; // CreateOffer and TakeOffer must not be cached by ViewLoader as we cannot use a view multiple times // in different graphs - if ((paymentMethod != null && paymentMethod.isBsqSwap()) || - viewClass.equals(BsqOfferBookView.class)) { + if ((paymentMethod != null && (paymentMethod.isBsqSwap() || paymentMethod.getId().equals(GUIUtil.SHOW_ALL_FLAG))) || + (paymentMethod == null && viewClass.equals(BsqOfferBookView.class))) { view = viewLoader.load(BsqSwapCreateOfferView.class); ((BsqSwapCreateOfferView) view).initWithData(direction, offerActionHandler, payload); } else {