From 8f78a08e6ffcfb1e199a30f21f4b0b243524f6f6 Mon Sep 17 00:00:00 2001 From: crschnick Date: Sun, 2 Jun 2024 13:37:31 +0000 Subject: [PATCH] Improve search filtering --- app/src/main/java/io/xpipe/app/comp/store/StoreSection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java b/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java index c57f324c9..b7f2cab9e 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java @@ -144,7 +144,6 @@ public class StoreSection { var filtered = ListBindingsHelper.filteredContentBinding( ordered, section -> { - var showFilter = filterString == null || section.shouldShow(filterString.get()); var matchesSelector = section.anyMatches(entryFilter); var sameCategory = category == null || category.getValue() == null @@ -153,7 +152,7 @@ public class StoreSection { // again here var notRoot = !DataStorage.get().isRootEntry(section.getWrapper().getEntry()); - return showFilter && matchesSelector && sameCategory && notRoot; + return matchesSelector && sameCategory && notRoot; }, category, filterString);