Fix double increment when updating covers (#6138)

* Fix double increment when updating covers

* Remove redundant block
This commit is contained in:
Midyan Hamdoun 2021-10-21 03:10:55 +03:00 committed by GitHub
parent 5b3bd3f470
commit ccd7c8df53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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