mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 11:39:29 +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);
|
||||
|
||||
// filter private offers
|
||||
if (direction == OfferDirection.BUY) {
|
||||
predicate = predicate.and(offerBookListItem -> offerBookListItem.getOffer().isPrivateOffer() == showPrivateOffers);
|
||||
}
|
||||
|
||||
if (!filterText.isEmpty()) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue