pull/1238/head^2
gedoor 3 years ago
parent 62dc50e56f
commit a8c843a32c
  1. 1
      app/src/main/java/io/legado/app/ui/main/bookshelf/style2/BookshelfFragment2.kt

@ -104,6 +104,7 @@ class BookshelfFragment2 : BaseBookshelfFragment(R.layout.fragment_bookshelf1),
if (it != bookGroups) { if (it != bookGroups) {
bookGroups = it bookGroups = it
booksAdapter.notifyDataSetChanged() booksAdapter.notifyDataSetChanged()
binding.tvEmptyMsg.isGone = getItemCount() > 0
} }
} }
} }

Loading…
Cancel
Save