Fix broken option for BSQ Altcoin and BSQ Altcoin Instant

This commit is contained in:
Christoph Atteneder 2022-04-19 10:18:33 +02:00
parent fce247cbc0
commit 348d1477e1
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B

View File

@ -294,8 +294,8 @@ public abstract class OfferView extends ActivatableView<TabPane, Void> {
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 {