For #20292: Use tint for home button icon.

upstream-sync
mcarare 3 years ago committed by mergify[bot]
parent b25f807eea
commit b2a5723bad

@ -40,6 +40,7 @@ import org.mozilla.fenix.ext.navigateSafe
import org.mozilla.fenix.ext.requireComponents
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.shortcut.PwaOnboardingObserver
import org.mozilla.fenix.theme.ThemeManager
import org.mozilla.fenix.trackingprotection.TrackingProtectionOverlay
/**
@ -84,6 +85,7 @@ class BrowserFragment : BaseBrowserFragment(), UserInteractionHandler {
R.drawable.mozac_ic_home
)!!,
contentDescription = requireContext().getString(R.string.browser_toolbar_home),
iconTintColorResource = ThemeManager.resolveAttribute(R.attr.primaryText, context),
listener = browserToolbarInteractor::onHomeButtonClicked
)

@ -424,7 +424,4 @@
<!-- Toolbar menu icon colors -->
<color name="toolbar_menu_transparent">@android:color/transparent</color>
<!-- Icon fill colors -->
<color name="mozac_ui_icons_fill">?primaryText</color>
</resources>

Loading…
Cancel
Save