upgrade gradle deps
This commit is contained in:
+1
-1
@@ -58,5 +58,5 @@ class Components(private val context: Context,
|
||||
|
||||
val dateTimeProvider: DateTimeProvider by lazy { DefaultDateTimeProvider() }
|
||||
|
||||
//val downloadEstimator: DownloadEstimator by lazy { DownloadEstimator(dateTimeProvider = dateTimeProvider) }
|
||||
val downloadEstimator: DownloadEstimator by lazy { DownloadEstimator(dateTimeProvider = dateTimeProvider) }
|
||||
}
|
||||
+3
-5
@@ -165,10 +165,9 @@ class WebExtensionPromptFeature(
|
||||
addon = addon,
|
||||
permissions = permissions,
|
||||
origins = origins,
|
||||
// dataCollectionPermissions = emptyList(),
|
||||
dataCollectionPermissions = emptyList(),
|
||||
forOptionalPermissions = forOptionalPermissions,
|
||||
// onPositiveButtonClicked = { _, privateBrowsingAllowed, _ ->
|
||||
onPositiveButtonClicked = { _, privateBrowsingAllowed, ->
|
||||
onPositiveButtonClicked = { _, privateBrowsingAllowed, _ ->
|
||||
handlePermissions(
|
||||
promptRequest,
|
||||
granted = true,
|
||||
@@ -197,8 +196,7 @@ class WebExtensionPromptFeature(
|
||||
|
||||
private fun tryToReAttachButtonHandlersToPreviousDialog() {
|
||||
findPreviousDialogFragment()?.let { dialog ->
|
||||
// dialog.onPositiveButtonClicked = { addon, privateBrowsingAllowed, _ ->
|
||||
dialog.onPositiveButtonClicked = { addon, privateBrowsingAllowed ->
|
||||
dialog.onPositiveButtonClicked = { addon, privateBrowsingAllowed, _ ->
|
||||
store.state.webExtensionPromptRequest?.let { promptRequest ->
|
||||
if (promptRequest is WebExtensionPromptRequest.AfterInstallation.Permissions &&
|
||||
addon.id == promptRequest.extension.id
|
||||
|
||||
+1
-2
@@ -22,7 +22,6 @@ class DownloadService : AbstractFetchDownloadService() {
|
||||
override val httpClient by lazy { components.core.client }
|
||||
override val store: BrowserStore by lazy { components.core.store }
|
||||
override val notificationsDelegate: NotificationsDelegate by lazy { components.notificationsDelegate }
|
||||
override val dateTimeProvider: DateTimeProvider by lazy { components.dateTimeProvider }
|
||||
override val fileSizeFormatter: FileSizeFormatter by lazy { components.fileSizeFormatter }
|
||||
//override val downloadEstimator: DownloadEstimator by lazy { components.downloadEstimator }
|
||||
override val downloadEstimator: DownloadEstimator by lazy { components.downloadEstimator }
|
||||
}
|
||||
Reference in New Issue
Block a user