mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2026-01-24 12:34:04 +01:00
WIP Android DownloadService
This commit is contained in:
@@ -10,7 +10,6 @@ import android.content.Context
|
||||
import ca.gosyer.core.di.AppScope
|
||||
import ca.gosyer.core.prefs.PreferenceStoreFactory
|
||||
import ca.gosyer.data.catalog.CatalogPreferences
|
||||
import ca.gosyer.data.download.DownloadService
|
||||
import ca.gosyer.data.extension.ExtensionPreferences
|
||||
import ca.gosyer.data.library.LibraryPreferences
|
||||
import ca.gosyer.data.library.LibraryUpdateService
|
||||
@@ -37,8 +36,6 @@ actual abstract class DataComponent(
|
||||
|
||||
protected abstract val httpProvider: HttpProvider
|
||||
|
||||
abstract val downloadService: DownloadService
|
||||
|
||||
abstract val libraryUpdateService: LibraryUpdateService
|
||||
|
||||
abstract val migrations: Migrations
|
||||
@@ -115,11 +112,6 @@ actual abstract class DataComponent(
|
||||
protected val libraryUpdateServiceFactory: LibraryUpdateService
|
||||
get() = LibraryUpdateService(serverPreferences, http)
|
||||
|
||||
@get:AppScope
|
||||
@get:Provides
|
||||
protected val downloadServiceFactory: DownloadService
|
||||
get() = DownloadService(serverPreferences, http)
|
||||
|
||||
@get:AppScope
|
||||
@get:Provides
|
||||
protected val migrationsFactory: Migrations
|
||||
|
||||
Reference in New Issue
Block a user