Allow exclusion on Delete After Read per category (#5857)
* Added the exclude category from delete after being read * Stopped it from adding a wildcard to the import * Placed the remove after read to the download manager
This commit is contained in:
@@ -409,6 +409,7 @@ class ReaderPresenter(
|
||||
val currentChapterPosition = chapterList.indexOf(currentChapter)
|
||||
val removeAfterReadSlots = preferences.removeAfterReadSlots()
|
||||
val chapterToDelete = chapterList.getOrNull(currentChapterPosition - removeAfterReadSlots)
|
||||
|
||||
// Check if deleting option is enabled and chapter exists
|
||||
if (removeAfterReadSlots != -1 && chapterToDelete != null) {
|
||||
enqueueDeleteReadChapters(chapterToDelete)
|
||||
|
||||
Reference in New Issue
Block a user