From 0e4e2623bb7a259de17183d9717d761f73b49c63 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Wed, 10 Feb 2021 18:54:55 +0100 Subject: [PATCH] [fenix] ToolbarIntegration: Use global public suffix list instance. --- .../org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt b/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt index 018bf6efb8..fca3accc6a 100644 --- a/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt +++ b/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt @@ -21,7 +21,6 @@ import mozilla.components.feature.tabs.toolbar.TabCounterToolbarButton import mozilla.components.feature.toolbar.ToolbarAutocompleteFeature import mozilla.components.feature.toolbar.ToolbarFeature import mozilla.components.feature.toolbar.ToolbarPresenter -import mozilla.components.lib.publicsuffixlist.PublicSuffixList import mozilla.components.support.base.feature.LifecycleAwareFeature import mozilla.components.support.ktx.android.view.hideKeyboard import org.mozilla.fenix.R @@ -45,7 +44,7 @@ abstract class ToolbarIntegration( store, sessionId, ToolbarFeature.UrlRenderConfiguration( - PublicSuffixList(context), + context.components.publicSuffixList, ThemeManager.resolveAttribute(R.attr.primaryText, context), renderStyle = renderStyle )