From e07facc03ac57a1c7f6104df9e9ae6e0f05ea9eb Mon Sep 17 00:00:00 2001 From: semenvav Date: Sat, 4 Nov 2023 15:48:16 +0200 Subject: [PATCH] style issue --- .../presentation/more/download/DownloadStatsScreenState.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/more/download/DownloadStatsScreenState.kt b/app/src/main/java/eu/kanade/presentation/more/download/DownloadStatsScreenState.kt index fe4acbd82e..f8c63d45b0 100644 --- a/app/src/main/java/eu/kanade/presentation/more/download/DownloadStatsScreenState.kt +++ b/app/src/main/java/eu/kanade/presentation/more/download/DownloadStatsScreenState.kt @@ -37,8 +37,8 @@ data class DownloadStatsScreenState( .filter { if (searchQuery != null) { it.libraryManga.manga.title.contains(searchQuery, true) || - if (groupByMode == GroupByMode.BY_SOURCE) { it.source.name.contains(searchQuery, true) } else { false } || - if (groupByMode == GroupByMode.BY_CATEGORY) { it.category.name.contains(searchQuery, true) } else { false } + if (groupByMode == GroupByMode.BY_SOURCE) { it.source.name.contains(searchQuery, true) } else { false } || + if (groupByMode == GroupByMode.BY_CATEGORY) { it.category.name.contains(searchQuery, true) } else { false } } else { true }