2
0
This commit is contained in:
Glax 2024-01-31 18:39:28 +01:00
parent bae157cdb4
commit 3c4867a276

View File

@ -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);