pull/94/head
kunfei 5 years ago
parent 054f9433a1
commit fdf32fd559
  1. 2
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt

@ -140,7 +140,7 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b
if (getPrefBoolean("bookGroupLocal", true)) { if (getPrefBoolean("bookGroupLocal", true)) {
bookGroups.add(1, AppConst.bookGroupLocal) bookGroups.add(1, AppConst.bookGroupLocal)
} }
view_pager_bookshelf.adapter?.notifyDataSetChanged() bookshelfAdapter.notifyDataSetChanged()
} }
} }

Loading…
Cancel
Save