pull/51/head
kunfei 5 years ago
parent 2317500d35
commit 1dbe0fdb34
  1. 2
      app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksFragment.kt

@ -74,7 +74,7 @@ class BooksFragment : VMBaseFragment<BooksViewModel>(R.layout.fragment_books),
if (bookshelfLayout == 0) {
LinearLayoutManager(context)
} else {
GridLayoutManager(requireContext(), bookshelfLayout)
GridLayoutManager(context, bookshelfLayout)
}
booksAdapter =
if (bookshelfLayout == 0) {

Loading…
Cancel
Save