Connector use TrangaSettings instead of own values for imageCache and downloadLocation

This commit is contained in:
2023-06-27 22:57:44 +02:00
parent 4cb3694cd5
commit f66ab7d40b
7 changed files with 20 additions and 27 deletions

View File

@ -11,7 +11,7 @@ public class MangaKatana : Connector
{
public override string name { get; }
public MangaKatana(string downloadLocation, string imageCachePath, Logger? logger) : base(downloadLocation, imageCachePath, logger)
public MangaKatana(TrangaSettings settings, Logger? logger = null) : base(settings, logger)
{
this.name = "MangaKatana";
this.downloadClient = new DownloadClient(new Dictionary<byte, int>()