Commit faa41366 authored by Sawyer Blatz's avatar Sawyer Blatz Committed by Jeff Boek
Browse files

For #7347: Fixes background of search field

parent 4fd3eb53
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import org.mozilla.fenix.R
import org.mozilla.fenix.ext.getColorFromAttr
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.search.SearchFragmentState
import org.mozilla.fenix.theme.ThemeManager

/**
 * Interface for the Toolbar Interactor. This interface is implemented by objects that want
@@ -93,7 +94,10 @@ class ToolbarView(
                false
            }

            background = null
            background =
                AppCompatResources.getDrawable(
                    container.context, ThemeManager.resolveAttribute(R.attr.foundation, context)
                )

            layoutParams.height = CoordinatorLayout.LayoutParams.MATCH_PARENT