Horis 2 年 前
親
コミット
5e1321bd98

+ 2 - 1
app/src/main/java/io/legado/app/ui/main/bookshelf/style1/books/BooksFragment.kt

@@ -87,7 +87,8 @@ class BooksFragment() : BaseFragment(R.layout.fragment_books),
             position = it.getInt("position", 0)
             position = it.getInt("position", 0)
             groupId = it.getLong("groupId", -1)
             groupId = it.getLong("groupId", -1)
             bookSort = it.getInt("bookSort", 0)
             bookSort = it.getInt("bookSort", 0)
-            binding.refreshLayout.isEnabled = it.getBoolean("enableRefresh", true)
+            enableRefresh = it.getBoolean("enableRefresh", true)
+            binding.refreshLayout.isEnabled = enableRefresh
         }
         }
         initRecyclerView()
         initRecyclerView()
         upRecyclerData()
         upRecyclerData()