Re-enable compose grids
This commit is contained in:
parent
df18722135
commit
518bfd9eab
@ -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)
|
||||
}
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user