Update LibraryUpdateService.kt
This commit is contained in:
parent
dc9545570d
commit
2ddf9491e4
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ class LibraryUpdateService(
|
||||||
// Boolean to determine if DownloadManager has downloads
|
// Boolean to determine if DownloadManager has downloads
|
||||||
var hasDownloads = false
|
var hasDownloads = false
|
||||||
|
|
||||||
while (count < mangaToUpdate.size && count + 1 >= mangaToUpdate.size) {
|
while (count < mangaToUpdate.size) {
|
||||||
if (job?.isCancelled == true || job == null) break
|
if (job?.isCancelled == true || job == null) break
|
||||||
val manga = mangaToUpdate[count]
|
val manga = mangaToUpdate[count]
|
||||||
showProgressNotification(manga, count++, mangaToUpdate.size)
|
showProgressNotification(manga, count++, mangaToUpdate.size)
|
||||||
|
|
Reference in a new issue