Commit b19509ed authored by Becky Zhou's avatar Becky Zhou Committed by Commit Bot

Fix tint when home button is enabled after toolbar visual is updated

Bug: 750809
Change-Id: I8f5ea254870bfc8309988e12d29dea7b35f5fd41
Reviewed-on: https://chromium-review.googlesource.com/676465Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Becky Zhou <huayinz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503508}
parent f75cf44a
......@@ -1484,6 +1484,7 @@ public class ToolbarPhone extends ToolbarLayout
if (mIsHomeButtonEnabled) {
mHomeButton.setVisibility(urlHasFocus() || isTabSwitcherAnimationRunning()
? INVISIBLE : VISIBLE);
mHomeButton.setTint(mUseLightToolbarDrawables ? mLightModeTint : mDarkModeTint);
mBrowsingModeViews.add(mHomeButton);
} else {
mHomeButton.setVisibility(GONE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment