From c4d69c27a48e541c77bd924d562d093babc8180b Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 19 Sep 2023 19:43:58 +0200 Subject: [PATCH] copy cover --- Tranga/Jobs/DownloadNewChapters.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tranga/Jobs/DownloadNewChapters.cs b/Tranga/Jobs/DownloadNewChapters.cs index b90b30b..6e2e3f2 100644 --- a/Tranga/Jobs/DownloadNewChapters.cs +++ b/Tranga/Jobs/DownloadNewChapters.cs @@ -36,8 +36,7 @@ public class DownloadNewChapters : Job Chapter[] chapters = mangaConnector.GetNewChapters(manga, this.translatedLanguage); this.progressToken.increments = chapters.Length; List jobs = new(); - if(chapters.Any()) - mangaConnector.CopyCoverFromCacheToDownloadLocation(manga); + mangaConnector.CopyCoverFromCacheToDownloadLocation(manga); foreach (Chapter chapter in chapters) { DownloadChapter downloadChapterJob = new(this, this.mangaConnector, chapter, parentJobId: this.id);