mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-10 22:03:15 +02:00
Update LibraryUpdateService.kt
This commit is contained in:
parent
dc9545570d
commit
2ddf9491e4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user