优化
This commit is contained in:
1 parent
63ddf9f09b
commit
9fdeb2d9c6
1 file changed
+2
-2
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user