Skip to content

Commit 5170f11

Browse files
committed
style(r539): spotless import reorder in MangaDownloadManager
1 parent e0671f4 commit 5170f11

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ class AnimeDownloadManager(
6565
private val scopeForTesting: CoroutineScope? = null,
6666
) {
6767

68-
private val downloader: AnimeDownloader by lazy { downloaderForTesting ?: AnimeDownloader(context, provider, cache, sourceManager) }
68+
private val downloader: AnimeDownloader by lazy {
69+
downloaderForTesting
70+
?: AnimeDownloader(context, provider, cache, sourceManager)
71+
}
6972
private val pendingDeleter: AnimeDownloadPendingDeleter by lazy { AnimeDownloadPendingDeleter(context) }
7073

7174
@VisibleForTesting

app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import eu.kanade.tachiyomi.data.download.model.DownloadDisplayStatus
1111
import eu.kanade.tachiyomi.source.MangaSource
1212
import eu.kanade.tachiyomi.source.model.Page
1313
import eu.kanade.tachiyomi.util.size
14-
import kotlinx.coroutines.CoroutineScope
1514
import kotlinx.coroutines.CoroutineExceptionHandler
15+
import kotlinx.coroutines.CoroutineScope
1616
import kotlinx.coroutines.Dispatchers
1717
import kotlinx.coroutines.SupervisorJob
1818
import kotlinx.coroutines.cancel
@@ -67,7 +67,9 @@ class MangaDownloadManager(
6767
private val scopeForTesting: CoroutineScope? = null,
6868
) {
6969

70-
private val downloader: MangaDownloader by lazy { downloaderForTesting ?: MangaDownloader(context, provider, cache) }
70+
private val downloader: MangaDownloader by lazy {
71+
downloaderForTesting ?: MangaDownloader(context, provider, cache)
72+
}
7173
private val pendingDeleter: MangaDownloadPendingDeleter by lazy { MangaDownloadPendingDeleter(context) }
7274

7375
@VisibleForTesting

0 commit comments

Comments
 (0)