2
0
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:
mcarare 2022-07-13 15:21:38 +03:00 committed by mergify[bot]
parent 2474b15ff6
commit 0b289fd3cf

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
}