mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
Prevent IndexOutOfBoundsException in "libraryUpdate" subscription (#1320)
This commit is contained in:
@@ -59,8 +59,8 @@ class UpdateSubscription {
|
||||
UpdaterUpdates(
|
||||
UpdateUpdates(
|
||||
updates.isRunning,
|
||||
updates.categoryUpdates.subList(0, maxUpdates),
|
||||
updates.mangaUpdates.subList(0, maxUpdatesAfterCategoryUpdates),
|
||||
updates.categoryUpdates.take(maxUpdates),
|
||||
updates.mangaUpdates.take(maxUpdatesAfterCategoryUpdates),
|
||||
updates.totalJobs,
|
||||
updates.finishedJobs,
|
||||
updates.skippedCategoriesCount,
|
||||
|
||||
Reference in New Issue
Block a user