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 = { onDeleteClicked = {
onMultiDeleteClicked(selected.fastMap { it.chapter }) onMultiDeleteClicked(selected.fastMap { it.chapter })
}.takeIf { }.takeIf {
onDownloadChapter != null && selected.fastAny { it.downloadState == Download.State.DOWNLOADED } selected.fastAny { it.downloadState == Download.State.DOWNLOADED }
}, },
) )
} }