Fix double increment when updating covers (#6138)

* Fix double increment when updating covers

* Remove redundant block

(cherry picked from commit ccd7c8df53a6d14af44b3973aa5f68fafb5fd591)
This commit is contained in:
Midyan Hamdoun 2021-10-21 03:10:55 +03:00 committed by Jobobby04
parent 72b33a1c52
commit ed5c3f327c

View File

@ -549,14 +549,6 @@ class LibraryUpdateService(
logcat(LogPriority.ERROR, e) logcat(LogPriority.ERROR, e)
} }
} }
currentlyUpdatingManga.remove(manga)
progressCount.andIncrement
notifier.showProgressNotification(
currentlyUpdatingManga,
progressCount.get(),
mangaToUpdate.size
)
} }
} }
} }