Allow deleting downloaded chapters even if source isn't available

Fixes #9160
This commit is contained in:
arkon 2023-12-26 17:14:24 -05:00
parent fca4f25122
commit a9b0ac43c4

View File

@ -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 }
},
)
}