copy cover

This commit is contained in:
glax 2023-09-19 19:43:39 +02:00
parent 64ec0963e1
commit 3ee53b7436

View File

@ -36,6 +36,8 @@ public class DownloadNewChapters : Job
Chapter[] chapters = mangaConnector.GetNewChapters(manga, this.translatedLanguage);
this.progressToken.increments = chapters.Length;
List<Job> jobs = new();
if(chapters.Any())
mangaConnector.CopyCoverFromCacheToDownloadLocation(manga);
foreach (Chapter chapter in chapters)
{
DownloadChapter downloadChapterJob = new(this, this.mangaConnector, chapter, parentJobId: this.id);