From a8c99ddad9cb8b063f1225aec4ca249193e027c4 Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 18 Jul 2022 13:38:54 -0400 Subject: [PATCH] fix offer book view for other cryptos --- .../desktop/main/offer/offerbook/OtherOfferBookViewModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OtherOfferBookViewModel.java b/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OtherOfferBookViewModel.java index 45c24006db..491a329e0a 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OtherOfferBookViewModel.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OtherOfferBookViewModel.java @@ -117,8 +117,8 @@ public class OtherOfferBookViewModel extends OfferBookViewModel { boolean directionResult = offer.getDirection() == direction; boolean currencyResult = CurrencyUtil.isCryptoCurrency(offer.getCurrencyCode()) && ((showAllTradeCurrenciesProperty.get() && - !offer.getCurrencyCode().equals(GUIUtil.TOP_ALTCOIN.getCode()) && - offer.getCurrencyCode().equals(selectedTradeCurrency.getCode()))); + !offer.getCurrencyCode().equals(GUIUtil.TOP_ALTCOIN.getCode())) || + offer.getCurrencyCode().equals(selectedTradeCurrency.getCode())); boolean paymentMethodResult = showAllPaymentMethods || offer.getPaymentMethod().equals(selectedPaymentMethod); boolean notMyOfferOrShowMyOffersActivated = !isMyOffer(offerBookListItem.getOffer()) || preferences.isShowOwnOffersInOfferBook();