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:
mcarare 2022-07-13 15:21:38 +03:00 committed by mergify[bot]
parent 2474b15ff6
commit 0b289fd3cf
1 changed files with 1 additions and 0 deletions

View File

@ -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
}