From 1dbe0fdb34c35376bbb1e718b2a9473dc4546c42 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 2 Dec 2019 16:09:59 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/bookshelf/books/BooksFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksFragment.kt index c0cf47171..6a0c14569 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksFragment.kt @@ -74,7 +74,7 @@ class BooksFragment : VMBaseFragment(R.layout.fragment_books), if (bookshelfLayout == 0) { LinearLayoutManager(context) } else { - GridLayoutManager(requireContext(), bookshelfLayout) + GridLayoutManager(context, bookshelfLayout) } booksAdapter = if (bookshelfLayout == 0) {