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:
parent
d9d5de98c9
commit
24596fd3cd
@ -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 }
|
||||||
) {
|
) {
|
||||||
|
@ -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 }
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user