style issue
This commit is contained in:
parent
d07fcc0bed
commit
e07facc03a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue