combine -> merge

This commit is contained in:
MM20 2021-12-31 21:50:09 +01:00
parent 63e5c1337c
commit 912982aba8
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -204,9 +204,7 @@ class AppRepositoryImpl(
override fun search(query: String): Flow<List<Application>> = channelFlow {
combine(installedApps, hiddenItems, installations) {_, _, _ ->
null
}.collectLatest {
merge(installedApps, hiddenItems, installations).collectLatest {
withContext(Dispatchers.IO) {
val appResults = mutableListOf<Application>()
if (query.isEmpty()) {