Explorar el Código

Allow deleting downloaded chapters even if source isn't available

Fixes #9160
arkon hace 1 año
padre
commit
a9b0ac43c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 }
         },
     )
 }