Fix downloads getting deleted when marked as unread

This commit is contained in:
arkon 2021-02-06 22:48:06 -05:00
parent d84b5e8b46
commit 717e55497f

View File

@ -484,7 +484,7 @@ class MangaPresenter(
db.updateChaptersProgress(chapters).executeAsBlocking() db.updateChaptersProgress(chapters).executeAsBlocking()
if (preferences.removeAfterMarkedAsRead()) { if (preferences.removeAfterMarkedAsRead()) {
deleteChapters(chapters) deleteChapters(chapters.filter { it.read })
} }
} }
} }