copy cover
This commit is contained in:
parent
3ee53b7436
commit
c4d69c27a4
@ -36,8 +36,7 @@ public class DownloadNewChapters : Job
|
|||||||
Chapter[] chapters = mangaConnector.GetNewChapters(manga, this.translatedLanguage);
|
Chapter[] chapters = mangaConnector.GetNewChapters(manga, this.translatedLanguage);
|
||||||
this.progressToken.increments = chapters.Length;
|
this.progressToken.increments = chapters.Length;
|
||||||
List<Job> jobs = new();
|
List<Job> jobs = new();
|
||||||
if(chapters.Any())
|
mangaConnector.CopyCoverFromCacheToDownloadLocation(manga);
|
||||||
mangaConnector.CopyCoverFromCacheToDownloadLocation(manga);
|
|
||||||
foreach (Chapter chapter in chapters)
|
foreach (Chapter chapter in chapters)
|
||||||
{
|
{
|
||||||
DownloadChapter downloadChapterJob = new(this, this.mangaConnector, chapter, parentJobId: this.id);
|
DownloadChapter downloadChapterJob = new(this, this.mangaConnector, chapter, parentJobId: this.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user