Minor cleanup

This commit is contained in:
Jobobby04
2021-03-22 20:25:46 -04:00
parent 75da7dcbdd
commit 12962b3486
4 changed files with 6 additions and 198 deletions
@@ -232,7 +232,7 @@ class EHentaiUpdateWorker : JobService() {
if ((new.isNotEmpty() && manga.id == acceptedRoot.manga.id) ||
(hasNew && updatedManga.none { it.first.id == acceptedRoot.manga.id })
) {
updatedManga += Pair(acceptedRoot.manga, new.toTypedArray())
updatedManga += acceptedRoot.manga to new.toTypedArray()
}
modifiedThisIteration += acceptedRoot.manga.id!!