Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
24596fd3
Commit
24596fd3
authored
Mar 18, 2020
by
Mihai Branescu
Browse files
For #9109 - remove the sync error highlight from three-dot menu
parent
d9d5de98
Changes
2
Show whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
View file @
24596fd3
...
...
@@ -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
}
)
{
...
...
app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
View file @
24596fd3
...
...
@@ -59,7 +59,8 @@ class HomeMenu(
iconTintColorResource
=
syncDisconnectedColor
,
textColorResource
=
primaryTextColor
,
highlight
=
BrowserMenuHighlight
.
HighPriority
(
backgroundTint
=
syncDisconnectedBackgroundColor
backgroundTint
=
syncDisconnectedBackgroundColor
,
canPropagate
=
false
),
isHighlighted
=
{
true
}
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment