Add option for library update only update completely read manga (#6323)
* Add option for library update only update completely read manga only check manga for updates if there is no unread chapter * sum
This commit is contained in:
@@ -262,6 +262,10 @@ class LibraryUpdateService(
|
||||
listToUpdate = listToUpdate.filterNot { it.status == SManga.COMPLETED }
|
||||
}
|
||||
|
||||
if (target == Target.CHAPTERS && preferences.updateOnlyCompletelyRead()) {
|
||||
listToUpdate = listToUpdate.filter { it.unread == 0 }
|
||||
}
|
||||
|
||||
val selectedScheme = preferences.libraryUpdatePrioritization().get()
|
||||
mangaToUpdate = listToUpdate
|
||||
.distinctBy { it.id }
|
||||
|
||||
Reference in New Issue
Block a user