mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-25 07:19:30 -05:00
fix no deposit filter applied to sell tab
This commit is contained in:
parent
7240b5f222
commit
389c5dddac
@ -579,7 +579,10 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
||||
getCurrencyAndMethodPredicate(direction, selectedTradeCurrency).and(getOffersMatchingMyAccountsPredicate()) :
|
||||
getCurrencyAndMethodPredicate(direction, selectedTradeCurrency);
|
||||
|
||||
predicate = predicate.and(offerBookListItem -> offerBookListItem.getOffer().isPrivateOffer() == showPrivateOffers);
|
||||
// filter private offers
|
||||
if (direction == OfferDirection.BUY) {
|
||||
predicate = predicate.and(offerBookListItem -> offerBookListItem.getOffer().isPrivateOffer() == showPrivateOffers);
|
||||
}
|
||||
|
||||
if (!filterText.isEmpty()) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user