|
|
|
@ -6,9 +6,11 @@ package org.mozilla.fenix.downloads
|
|
|
|
|
|
|
|
|
|
import mozilla.components.browser.state.store.BrowserStore
|
|
|
|
|
import mozilla.components.feature.downloads.AbstractFetchDownloadService
|
|
|
|
|
import org.mozilla.fenix.R
|
|
|
|
|
import org.mozilla.fenix.ext.components
|
|
|
|
|
|
|
|
|
|
class DownloadService : AbstractFetchDownloadService() {
|
|
|
|
|
override val httpClient by lazy { components.core.client }
|
|
|
|
|
override val store: BrowserStore by lazy { components.core.store }
|
|
|
|
|
override val style: Style by lazy { Style(R.color.notification_accent_color_normal_theme) }
|
|
|
|
|
}
|
|
|
|
|