Allow marking partially read chapters as unread

Closes #3777
This commit is contained in:
arkon 2022-10-08 13:26:25 -04:00
parent 60bcebe4d1
commit 4bba7a8bab

View file

@ -616,7 +616,7 @@ private fun SharedMangaBottomActionMenu(
}.takeIf { selected.any { !it.chapter.read } },
onMarkAsUnreadClicked = {
onMultiMarkAsReadClicked(selected.map { it.chapter }, false)
}.takeIf { selected.any { it.chapter.read } },
}.takeIf { selected.any { it.chapter.read || it.chapter.lastPageRead > 0L } },
onMarkPreviousAsReadClicked = {
onMarkPreviousAsReadClicked(selected[0].chapter)
}.takeIf { selected.size == 1 },