MangaScreen: Fix action mode download button not working (#7385)
(cherry picked from commit 924dfa19cffed109db8d039cecfa430165abc45e)
This commit is contained in:
parent
4eb45d0ade
commit
b1be2a8612
@ -383,7 +383,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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user