Fix file results missing

This commit is contained in:
MM20 2022-10-19 16:39:27 +02:00
parent 452b2dd7b3
commit c17db2a9ce
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -237,6 +237,6 @@ internal data class SearchResults(
val other: List<SavableSearchable> = emptyList(), val other: List<SavableSearchable> = emptyList(),
) { ) {
fun toList(): List<Searchable> { fun toList(): List<Searchable> {
return (apps + shortcuts + contacts + calendars + websites + wikipedia + other).distinctBy { it.key } + calculators+ unitConverters return (apps + shortcuts + contacts + calendars + files + websites + wikipedia + other).distinctBy { it.key } + calculators + unitConverters
} }
} }