Re-enable compose grids

This commit is contained in:
MM20 2021-09-24 22:13:55 +02:00
parent df18722135
commit 518bfd9eab
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@ import de.mm20.launcher2.ui.SectionDivider
fun applicationResults(): LazyListScope.(listState: LazyListState) -> Unit {
val apps by viewModel<AppViewModel>().applications.observeAsState(emptyList())
return {
LegacySearchableGrid(items = apps, listState = it)
SearchableGrid(items = apps, listState = it)
}
}

View File

@ -12,6 +12,6 @@ import de.mm20.launcher2.favorites.FavoritesViewModel
fun favoriteResults(): LazyListScope.(listState: LazyListState) -> Unit {
val favorites by viewModel<FavoritesViewModel>().getFavorites(5).observeAsState(emptyList())
return {
LegacySearchableGrid(items = favorites, listState = it)
SearchableGrid(items = favorites, listState = it)
}
}