From 0b1e15129f2479b96496129dc7782465a1bc2cc7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 2 Dec 2019 16:07:47 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt | 1 + 1 file changed, 1 insertion(+) 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