1
0
Fork 0

For #9109 - remove the sync error highlight from three-dot menu

master
Mihai Branescu 2020-03-18 11:07:32 +02:00
parent d9d5de98c9
commit 24596fd3cd
2 changed files with 4 additions and 2 deletions

View File

@ -212,7 +212,8 @@ class DefaultToolbarMenu(
primaryTextColor(),
highlight = BrowserMenuHighlight.HighPriority(
endImageResource = R.drawable.ic_sync_disconnected,
backgroundTint = context.getColorFromAttr(R.attr.syncDisconnectedBackground)
backgroundTint = context.getColorFromAttr(R.attr.syncDisconnectedBackground),
canPropagate = false
),
isHighlighted = { hasAccountProblem }
) {

View File

@ -59,7 +59,8 @@ class HomeMenu(
iconTintColorResource = syncDisconnectedColor,
textColorResource = primaryTextColor,
highlight = BrowserMenuHighlight.HighPriority(
backgroundTint = syncDisconnectedBackgroundColor
backgroundTint = syncDisconnectedBackgroundColor,
canPropagate = false
),
isHighlighted = { true }
) {