feat: 下载界面添加分组

pull/248/head
gedoor 4 years ago
parent bb0e4c6b98
commit df6aca8760
  1. 2
      app/src/main/java/io/legado/app/ui/book/download/DownloadActivity.kt

@ -79,7 +79,7 @@ class DownloadActivity : VMBaseActivity<DownloadViewModel>(R.layout.activity_dow
when (item.itemId) {
R.id.menu_download -> launch(IO) {
if (adapter.downloadMap.isNullOrEmpty()) {
App.db.bookDao().webBooks.forEach { book ->
adapter.getItems().forEach { book ->
Download.start(
this@DownloadActivity,
book.bookUrl,

Loading…
Cancel
Save