添加导出文件夹选择

pull/862/head
gedoor 4 years ago
parent 6c0f71b84c
commit dc5f86acdc
  1. 11
      app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt

@ -100,15 +100,10 @@ class CacheActivity : VMBaseActivity<ActivityCacheBookBinding, CacheViewModel>()
CacheBook.stop(this@CacheActivity) CacheBook.stop(this@CacheActivity)
} }
} }
R.id.menu_export_folder -> { R.id.menu_export_folder -> export(-1)
R.id.menu_export_charset -> showCharsetConfig()
} R.id.menu_log ->
R.id.menu_export_charset -> {
}
R.id.menu_log -> {
TextListDialog.show(supportFragmentManager, getString(R.string.log), CacheBook.logs) TextListDialog.show(supportFragmentManager, getString(R.string.log), CacheBook.logs)
}
else -> if (item.groupId == R.id.menu_group) { else -> if (item.groupId == R.id.menu_group) {
binding.titleBar.subtitle = item.title binding.titleBar.subtitle = item.title
groupId = appDb.bookGroupDao.getByName(item.title.toString())?.groupId ?: 0 groupId = appDb.bookGroupDao.getByName(item.title.toString())?.groupId ?: 0

Loading…
Cancel
Save