2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

Bug 1852984 - Show the right theme for the extensions process crash dialog.

This commit is contained in:
Arturo Mejia 2023-09-13 11:34:21 -04:00 committed by mergify[bot]
parent e0689faabc
commit a405f63fb7
2 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
package org.mozilla.fenix.addons
import android.app.AlertDialog
import android.content.Context
import androidx.annotation.UiContext
import androidx.appcompat.app.AlertDialog
import mozilla.components.browser.state.action.ExtensionProcessDisabledPopupAction
import mozilla.components.browser.state.store.BrowserStore
import mozilla.components.concept.engine.Engine
@ -70,7 +70,7 @@ class ExtensionProcessDisabledController(
@UiContext context: Context,
store: BrowserStore,
engine: Engine = context.components.core.engine,
builder: AlertDialog.Builder = AlertDialog.Builder(context, R.style.DialogStyleNormal),
builder: AlertDialog.Builder = AlertDialog.Builder(context),
appName: String = context.appName,
) : ExtensionProcessDisabledPopupFeature(
store,

View File

@ -4,9 +4,9 @@
package org.mozilla.fenix.addons
import android.app.AlertDialog
import android.content.Context
import android.content.DialogInterface.OnClickListener
import androidx.appcompat.app.AlertDialog
import mozilla.components.browser.state.action.ExtensionProcessDisabledPopupAction
import mozilla.components.browser.state.store.BrowserStore
import mozilla.components.concept.engine.Engine