From 083ce238d81259def8835bd5d9190b4954afb22f Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 2 Nov 2023 15:20:34 +0100 Subject: [PATCH] Add UpdateMetadata Job to DownloadNewChapters --- Tranga/Jobs/DownloadNewChapters.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tranga/Jobs/DownloadNewChapters.cs b/Tranga/Jobs/DownloadNewChapters.cs index a358557..7967289 100644 --- a/Tranga/Jobs/DownloadNewChapters.cs +++ b/Tranga/Jobs/DownloadNewChapters.cs @@ -43,6 +43,8 @@ public class DownloadNewChapters : Job DownloadChapter downloadChapterJob = new(this, this.mangaConnector, chapter, parentJobId: this.id); jobs.Add(downloadChapterJob); } + UpdateMetadata updateMetadataJob = new(this, this.mangaConnector, this.manga, parentJobId: this.id); + jobs.Add(updateMetadataJob); progressToken.Complete(); return jobs; }