mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
For #25994: Make installToHomescreen item a collapsing menu limit.
The item is visible instead of addToHomeScreenItem when current session can be installed as a PWA.
This commit is contained in:
parent
2474b15ff6
commit
0b289fd3cf
@ -184,6 +184,7 @@ open class DefaultToolbarMenu(
|
||||
label = context.getString(R.string.browser_menu_install_on_homescreen),
|
||||
notificationTint = getColor(context, R.color.fx_mobile_icon_color_information)
|
||||
),
|
||||
isCollapsingMenuLimit = true,
|
||||
isHighlighted = {
|
||||
!context.settings().installPwaOpened
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user