mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 03:59:22 +00:00
fix no deposit filter applied to sell tab
This commit is contained in:
parent
7240b5f222
commit
389c5dddac
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue