From a9b0ac43c490eff063c8b3c8173a90184409ab69 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 26 Dec 2023 17:14:24 -0500 Subject: [PATCH] Allow deleting downloaded chapters even if source isn't available Fixes #9160 --- app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt b/app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt index 69690ac5f..c3ce971e6 100644 --- a/app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt +++ b/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 } }, ) }