mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 13:37:29 +01:00
MangaScreen: Fix action mode download button not working (#7385)
This commit is contained in:
@@ -338,7 +338,7 @@ private fun MangaScreenSmallImpl(
|
||||
selected.clear()
|
||||
}.takeIf { selected.size == 1 },
|
||||
onDownloadClicked = {
|
||||
onDownloadChapter!!(selected, ChapterDownloadAction.START)
|
||||
onDownloadChapter!!(selected.toList(), ChapterDownloadAction.START)
|
||||
selected.clear()
|
||||
}.takeIf {
|
||||
onDownloadChapter != null && selected.any { it.downloadState != Download.State.DOWNLOADED }
|
||||
|
||||
Reference in New Issue
Block a user