mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
b445c372f2
commit
88a6d6d7be
@ -280,8 +280,8 @@ class SearchActivity : VMBaseActivity<ActivityBookSearchBinding, SearchViewModel
|
||||
viewModel.searchBookLiveData.observe(this) {
|
||||
adapter.setItems(it)
|
||||
}
|
||||
launch {
|
||||
appDb.bookSourceDao.flowEnabledGroups().flowOn(IO).collect {
|
||||
launch(IO) {
|
||||
appDb.bookSourceDao.flowEnabledGroups().collect {
|
||||
groups = it
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user