mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-25 15:29:23 -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).and(getOffersMatchingMyAccountsPredicate()) :
|
||||||
getCurrencyAndMethodPredicate(direction, selectedTradeCurrency);
|
getCurrencyAndMethodPredicate(direction, selectedTradeCurrency);
|
||||||
|
|
||||||
|
// filter private offers
|
||||||
|
if (direction == OfferDirection.BUY) {
|
||||||
predicate = predicate.and(offerBookListItem -> offerBookListItem.getOffer().isPrivateOffer() == showPrivateOffers);
|
predicate = predicate.and(offerBookListItem -> offerBookListItem.getOffer().isPrivateOffer() == showPrivateOffers);
|
||||||
|
}
|
||||||
|
|
||||||
if (!filterText.isEmpty()) {
|
if (!filterText.isEmpty()) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user