From 4dfe4fc3d2597c9d79da3520ca40b3169c8dc0e9 Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Thu, 19 Dec 2024 10:52:28 +0200 Subject: [PATCH] fix(Export): Correctly apply item filters when you click View all items button --- .../keyguard/feature/export/ExportStateProducer.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportStateProducer.kt b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportStateProducer.kt index 7c56a141..215984ba 100644 --- a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportStateProducer.kt +++ b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportStateProducer.kt @@ -219,7 +219,12 @@ fun produceExportScreenState( list = state.list, count = state.list.size, onView = onClick { - val filter = state.filterConfig?.filter + val filter = DFilter.And( + listOfNotNull( + args.filter, + state.filterConfig?.filter, + ), + ) val route = VaultRoute( args = VaultRoute.Args( appBar = VaultRoute.Args.AppBar(