From 6dc656f7fa6bd8a3a0e876ab5ef5b50ab86b2365 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 6 Apr 2022 20:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/manage/BookshelfManageActivity.kt | 4 ++-- .../main/res/menu/{arrange_book.xml => bookshelf_manage.xml} | 0 .../menu/{arrange_book_sel.xml => bookshelf_menage_sel.xml} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/res/menu/{arrange_book.xml => bookshelf_manage.xml} (100%) rename app/src/main/res/menu/{arrange_book_sel.xml => bookshelf_menage_sel.xml} (100%) diff --git a/app/src/main/java/io/legado/app/ui/book/manage/BookshelfManageActivity.kt b/app/src/main/java/io/legado/app/ui/book/manage/BookshelfManageActivity.kt index e60b27d85..f2dfd4a4f 100644 --- a/app/src/main/java/io/legado/app/ui/book/manage/BookshelfManageActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/manage/BookshelfManageActivity.kt @@ -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 { diff --git a/app/src/main/res/menu/arrange_book.xml b/app/src/main/res/menu/bookshelf_manage.xml similarity index 100% rename from app/src/main/res/menu/arrange_book.xml rename to app/src/main/res/menu/bookshelf_manage.xml diff --git a/app/src/main/res/menu/arrange_book_sel.xml b/app/src/main/res/menu/bookshelf_menage_sel.xml similarity index 100% rename from app/src/main/res/menu/arrange_book_sel.xml rename to app/src/main/res/menu/bookshelf_menage_sel.xml