You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
732 B
Kotlin
17 lines
732 B
Kotlin
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
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) }
|
|
}
|