diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt index 7c3d73778..85cb9e9dc 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt @@ -131,6 +131,7 @@ class BookshelfFragment : VMBaseFragment(R.layout.fragment_b items = resources.getStringArray(R.array.bookshelf_layout).toList() ) { _, index -> putPrefInt(PreferKey.bookshelfLayout, index) + activity?.recreate() } } } \ No newline at end of file