pull/1758/head
kunfei 3 years ago
parent cbe075f9f7
commit 6dc656f7fa
  1. 4
      app/src/main/java/io/legado/app/ui/book/manage/BookshelfManageActivity.kt
  2. 0
      app/src/main/res/menu/bookshelf_manage.xml
  3. 0
      app/src/main/res/menu/bookshelf_menage_sel.xml

@ -71,7 +71,7 @@ class BookshelfManageActivity :
}
override fun onCompatCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.arrange_book, menu)
menuInflater.inflate(R.menu.bookshelf_manage, menu)
return super.onCompatCreateOptionsMenu(menu)
}
@ -108,7 +108,7 @@ class BookshelfManageActivity :
// Note: need judge selection first, so add ItemTouchHelper after it.
ItemTouchHelper(itemTouchCallback).attachToRecyclerView(binding.recyclerView)
binding.selectActionBar.setMainActionText(R.string.move_to_group)
binding.selectActionBar.inflateMenu(R.menu.arrange_book_sel)
binding.selectActionBar.inflateMenu(R.menu.bookshelf_menage_sel)
binding.selectActionBar.setOnMenuItemClickListener(this)
binding.selectActionBar.setCallBack(this)
binding.composeView.setContent {

Loading…
Cancel
Save