Commit b2a5723b authored by mcarare's avatar mcarare Committed by mergify[bot]
Browse files

For #20292: Use tint for home button icon.

parent b25f807e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
            )

+0 −3
Original line number Diff line number Diff line
@@ -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>