From ccd7c8df53a6d14af44b3973aa5f68fafb5fd591 Mon Sep 17 00:00:00 2001 From: Midyan Hamdoun Date: Thu, 21 Oct 2021 03:10:55 +0300 Subject: [PATCH] Fix double increment when updating covers (#6138) * Fix double increment when updating covers * Remove redundant block --- .../kanade/tachiyomi/data/library/LibraryUpdateService.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt index 8540038b8..8acc0d4c5 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt @@ -445,14 +445,6 @@ class LibraryUpdateService( logcat(LogPriority.ERROR, e) } } - - currentlyUpdatingManga.remove(manga) - progressCount.andIncrement - notifier.showProgressNotification( - currentlyUpdatingManga, - progressCount.get(), - mangaToUpdate.size - ) } } }