mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-19 23:22:26 -07:00
Keep downloads in excluded categories when marking them read (#3558)
Closes #3558 Closes #3130 Fixes #1521
This commit is contained in:
@@ -49,6 +49,9 @@ class SetReadStatus(
|
||||
|
||||
if (read && downloadPreferences.removeAfterMarkedAsRead.get()) {
|
||||
chaptersToUpdate
|
||||
// Chapters here still carry their pre-update read state; downstream
|
||||
// deletion filtering (excluded categories) relies on the new state.
|
||||
.map { it.copy(read = true) }
|
||||
.groupBy { it.mangaId }
|
||||
.forEach { (mangaId, chapters) ->
|
||||
deleteDownload.awaitAll(
|
||||
|
||||
Reference in New Issue
Block a user