瀏覽代碼

Allow deleting downloaded chapters even if source isn't available

Fixes #9160
arkon 1 年之前
父節點
當前提交
a9b0ac43c4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt

+ 1 - 1
app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt

@@ -753,7 +753,7 @@ private fun SharedMangaBottomActionMenu(
         onDeleteClicked = {
             onMultiDeleteClicked(selected.fastMap { it.chapter })
         }.takeIf {
-            onDownloadChapter != null && selected.fastAny { it.downloadState == Download.State.DOWNLOADED }
+            selected.fastAny { it.downloadState == Download.State.DOWNLOADED }
         },
     )
 }