Fix chapter download restart even if should be deleted

This commit is contained in:
nzoba 2022-08-24 22:09:50 +02:00
parent a25b203a3a
commit 9e1f99d1a7

View File

@ -500,6 +500,8 @@ class ReaderPresenter(
if (removeAfterReadSlots != 0 && chapterDownload != null) {
downloadManager.addDownloadsToStartOfQueue(listOf(chapterDownload!!))
} else {
chapterDownload = null
}
// Check if deleting option is enabled and chapter exists
if (removeAfterReadSlots != -1 && chapterToDelete != null) {