fix offer book view for other cryptos

This commit is contained in:
woodser 2022-07-18 13:38:54 -04:00
parent 73997f711b
commit a8c99ddad9

View file

@ -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();