mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-21 20:27:06 +03:00
small changes
This commit is contained in:
parent
872fc749e9
commit
748d6101c0
1 changed files with 1 additions and 2 deletions
|
@ -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(),
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue