From dc5f86acdc23f525ecd55d9b62d6a1ffa0476ede Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 19 Feb 2021 17:59:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/cache/CacheActivity.kt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt b/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt index 90469aadd..93d87014d 100644 --- a/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt @@ -100,15 +100,10 @@ class CacheActivity : VMBaseActivity() CacheBook.stop(this@CacheActivity) } } - R.id.menu_export_folder -> { - - } - R.id.menu_export_charset -> { - - } - R.id.menu_log -> { + R.id.menu_export_folder -> export(-1) + R.id.menu_export_charset -> showCharsetConfig() + R.id.menu_log -> TextListDialog.show(supportFragmentManager, getString(R.string.log), CacheBook.logs) - } else -> if (item.groupId == R.id.menu_group) { binding.titleBar.subtitle = item.title groupId = appDb.bookGroupDao.getByName(item.title.toString())?.groupId ?: 0