mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-14 07:17:54 +02:00
Fix RetrieveChaptersJob
This commit is contained in:
@ -240,7 +240,7 @@ public class MangaDex : MangaConnector
|
||||
|
||||
try
|
||||
{
|
||||
Chapter newChapter = new Chapter(manga, url, chapterNumber, volume, title);
|
||||
Chapter newChapter = new(manga, url, chapterNumber, volume, title);
|
||||
if(!chapters.Contains(newChapter))
|
||||
chapters.Add(newChapter);
|
||||
}
|
||||
@ -251,7 +251,7 @@ public class MangaDex : MangaConnector
|
||||
}
|
||||
|
||||
//Return Chapters ordered by Chapter-Number
|
||||
return chapters.Order().ToArray();
|
||||
return chapters.ToArray();
|
||||
}
|
||||
|
||||
internal override string[] GetChapterImageUrls(Chapter chapter)
|
||||
|
Reference in New Issue
Block a user