2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

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

This commit is contained in:
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(), primaryTextColor(),
highlight = BrowserMenuHighlight.HighPriority( highlight = BrowserMenuHighlight.HighPriority(
endImageResource = R.drawable.ic_sync_disconnected, endImageResource = R.drawable.ic_sync_disconnected,
backgroundTint = context.getColorFromAttr(R.attr.syncDisconnectedBackground) backgroundTint = context.getColorFromAttr(R.attr.syncDisconnectedBackground),
canPropagate = false
), ),
isHighlighted = { hasAccountProblem } isHighlighted = { hasAccountProblem }
) { ) {

View File

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