Fix chapters getting deleted when marking as unread from library (fixes #5755)

This commit is contained in:
arkon 2021-09-04 15:29:13 -04:00
parent 8a064c118f
commit 5ea8d0546e

View File

@ -487,7 +487,7 @@ class LibraryPresenter(
}
db.updateChaptersProgress(chapters).executeAsBlocking()
if (preferences.removeAfterMarkedAsRead()) {
if (read && preferences.removeAfterMarkedAsRead()) {
deleteChapters(manga, chapters)
}
}