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:
parent
e0689faabc
commit
a405f63fb7
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user