pull/35/head
kunfei 5 years ago
parent 85902e702e
commit d3d0265bd7
  1. 1
      app/src/main/java/io/legado/app/ui/main/bookshelf/BooksFragment.kt

@ -77,7 +77,6 @@ class BooksFragment : VMBaseFragment<BooksViewModel>(R.layout.fragment_books),
bookshelfLiveData?.removeObservers(this) bookshelfLiveData?.removeObservers(this)
when (groupId) { when (groupId) {
-1 -> { -1 -> {
bookshelfLiveData = bookshelfLiveData =
LivePagedListBuilder(App.db.bookDao().observeAll(), 10).build() LivePagedListBuilder(App.db.bookDao().observeAll(), 10).build()
} }

Loading…
Cancel
Save