Allow deleting downloaded chapters even if source isn't available

Fixes #9160

(cherry picked from commit a9b0ac43c490eff063c8b3c8173a90184409ab69)
This commit is contained in:
arkon 2023-12-26 17:14:24 -05:00 committed by Jobobby04
parent 71faf85edd
commit 653a1f8f14

View File

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