pull/51/head
kunfei 5 years ago
parent 2553777886
commit 0b1e15129f
  1. 1
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt

@ -131,6 +131,7 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b
items = resources.getStringArray(R.array.bookshelf_layout).toList() items = resources.getStringArray(R.array.bookshelf_layout).toList()
) { _, index -> ) { _, index ->
putPrefInt(PreferKey.bookshelfLayout, index) putPrefInt(PreferKey.bookshelfLayout, index)
activity?.recreate()
} }
} }
} }
Loading…
Cancel
Save