mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 20:19:05 +01:00
Fix stucked downloads when service not started (#7846)
* Fix stucked downloads when service not started * Fix chapter download restart even if should be deleted
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user