2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] AwesomeBarUIView: Rename variable to prevent name shadowing

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-04-23 20:49:06 +05:30 committed by Emily Kager
parent e4d2e4b3d0
commit caae5e0bfb

View File

@ -127,8 +127,8 @@ class AwesomeBarUIView(
)
if (Settings.getInstance(container.context).showSearchSuggestions()) {
val draw = getDrawable(R.drawable.ic_search)
draw?.setColorFilter(
val searchDrawable = getDrawable(R.drawable.ic_search)
searchDrawable?.setColorFilter(
ContextCompat.getColor(
this,
DefaultThemeManager.resolveAttribute(R.attr.primaryText, this)
@ -143,7 +143,7 @@ class AwesomeBarUIView(
fetchClient = components.core.client,
mode = SearchSuggestionProvider.Mode.MULTIPLE_SUGGESTIONS,
limit = 3,
icon = draw?.toBitmap()
icon = searchDrawable?.toBitmap()
)
}