Allow marking partially read chapters as unread

Closes #3777

(cherry picked from commit 4bba7a8bab)
This commit is contained in:
arkon
2022-10-08 13:26:25 -04:00
committed by Jobobby04
parent 2f33b90eca
commit 1cd093ecc0
@@ -790,7 +790,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 },