This commit is contained in:
parent
bae157cdb4
commit
3c4867a276
@ -27,8 +27,11 @@ public class UpdateMetadata : Job
|
||||
Manga? possibleUpdatedManga = mangaConnector.GetMangaFromId(manga.publicationId);
|
||||
if (possibleUpdatedManga is { } updatedManga)
|
||||
{
|
||||
if(updatedManga.Equals(this.manga))//Check if anything changed
|
||||
if (updatedManga.Equals(this.manga)) //Check if anything changed
|
||||
{
|
||||
this.progressToken.Complete();
|
||||
return Array.Empty<Job>();
|
||||
}
|
||||
|
||||
this.manga.UpdateMetadata(updatedManga);
|
||||
this.manga.SaveSeriesInfoJson(settings.downloadLocation, true);
|
||||
|
Loading…
Reference in New Issue
Block a user