mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-29 03:53:19 -05:00
Allow deleting downloaded chapters even if source isn't available
Fixes #9160
This commit is contained in:
parent
fca4f25122
commit
a9b0ac43c4
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue