small changes

This commit is contained in:
LuftVerbot 2023-11-09 19:24:17 +01:00
parent 872fc749e9
commit 748d6101c0

View file

@ -64,7 +64,7 @@ import kotlin.coroutines.cancellation.CancellationException
* This class is the one in charge of downloading episodes. * This class is the one in charge of downloading episodes.
* *
* Its queue contains the list of episodes to download. In order to download them, the downloader * Its queue contains the list of episodes to download. In order to download them, the downloader
* subscription must be running and the list of episodes must be sent to them by [downloadsRelay]. * subscription must be running and the list of episodes must be sent to them by [downloaderJob].
* *
* The queue manipulation must be done in one thread (currently the main thread) to avoid unexpected * The queue manipulation must be done in one thread (currently the main thread) to avoid unexpected
* behavior, but it's safe to read it from multiple threads. * behavior, but it's safe to read it from multiple threads.
@ -75,7 +75,6 @@ class AnimeDownloader(
private val cache: AnimeDownloadCache, private val cache: AnimeDownloadCache,
private val sourceManager: AnimeSourceManager = Injekt.get(), private val sourceManager: AnimeSourceManager = Injekt.get(),
private val episodeCache: EpisodeCache = Injekt.get(), private val episodeCache: EpisodeCache = Injekt.get(),
private val downloadPreferences: DownloadPreferences = Injekt.get(),
) { ) {
/** /**